Downloading public keys with GnuPG

David Shaw dshaw@jabberwocky.com
Wed Jun 18 18:36:02 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, Jun 18, 2003 at 06:02:55PM +0200, Ben Branders wrote:
> Hi everyone,
> 
> I just switched from PGP to GnuPG.  I now use Mozilla with Enigmail. 
> There is only one problem.  How do you download public keys from a 
> keyserver with GnuPG/Enigmail ??
> 
> I tried several times and with different keyservers, but it just doesn't 
> work...  .
> 
> This is what the error window says: (with a http server)
> > enigmail> c:\tools\gnupg\gpg.exe --batch --no-tty --status-fd 2
> > --keyserver http ://pki.surfnet.nl/ --recv-keys 0x9B15A06C gpg: NOTE:
> > old default options file `C:/Mijn documenten/PGP\options' ignored
> > gpg: system error while calling external program: No such file or
> > directory gpg: WARNING: unable to remove tempfile (out)
> > `C:\WINDOWS\TEMP\gpg-8BB970\tempou t.txt': No such file or directory
> > gpg: no handler for keyserver scheme "http" 

Don't use "http://foo" for HKP keyservers.  Use "hkp://foo".

> And this happens with a LDAP server
> > enigmail> c:\tools\gnupg\gpg.exe --batch --no-tty --status-fd 2 --keyserver
> > ldap ://pgp.surfnet.nl --recv-keys 0x9B15A06C gpgkeys: internal LDAP
> > bind error: Server buiten bedrijf gpg: NOTE: old default options file
> > `C:/Mijn documenten/PGP\options' ignored gpg: no valid OpenPGP data
> > found. gpg: Total number processed: 0

The Surfnet LDAP keyserver runs on a different port:

  ldap://pgp.surfnet.nl:11370

David
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3-cvs (GNU/Linux)
Comment: Key available at http://www.jabberwocky.com/david/keys.asc

iD8DBQE+8JVF4mZch0nhy8kRApq6AJ9eLksTW3ZkdLgqPYSY+9SamrdB4QCfaKMn
WM4vb4GsbHk/gtakmGeanmc=
=tjm3
-----END PGP SIGNATURE-----