LDAP keyserver patch

David Shaw dshaw at jabberwocky.com
Mon Sep 10 06:02:01 CEST 2001


Hi folks,

Well, the FSF and I have worked out an assignment agreement that we
both can live with, so to celebrate, here's LDAP keyserver support for
GnuPG.

This is actually generic keyserver support so GnuPG can speak to any
keyserver type, even types that are site specific.  It is implemented
as stub code in GnuPG itself and separate helper programs to do the
actual talking to keyservers.  The reason for this is security - GnuPG
doesn't need thousands of lines of keyserver code when they can be
much better put in an untrusted application.

Included in the patch is a helper application for LDAP and another one
for email keyservers.  You need OpenLDAP installed to enable LDAP
support.

To use the new feature, you need to tell GnuPG which keyserver helper
to call.  Do this by adding the protocol to the keyserver names in
your options file.  For example:

 # Old HKP keyservers still work
 keyserver x-hkp://wwwkeys.pgp.net

 # New LDAP keyserver
 keyserver ldap://certserver.pgp.com

 # Email keyserver
 keyserver mailto://pgp-public-keys@keys.pgp.net

For backwards compatibility, if you don't specify a protocol, GnuPG
assumes it's a HKP keyserver.  For HKP, the patch will still call the
internal HKP keyserver code, but I hope to move the HKP code to a
separate application at some point.

After applying the patch via the usual patch -p1, you should run
automake and autoconf to rebuild configure and the makefiles.  After
that, the usual ./configure and make should do it.

The patch is against 1.0.6 (not 1.0.6a), and should be considered
experimental for now.  As always, comments welcome.

Get the patch at:
    http://www.jabberwocky.com/crypto/patch.gnupg-1.0.6.dms.keyserver.1

David

-- 
   David Shaw  |  dshaw at jabberwocky.com  |  WWW http://www.jabberwocky.com/
+---------------------------------------------------------------------------+
   "There are two major products that come out of Berkeley: LSD and UNIX.
      We don't believe this to be a coincidence." - Jeremy S. Anderson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 536 bytes
Desc: not available
Url : /pipermail/attachments/20010910/8cc43422/attachment.bin


More information about the Gnupg-devel mailing list