gpg and the new PGP keyserver

Jason Harris jharris at widomaker.com
Sat Jan 1 16:45:33 CET 2005


On Sat, Jan 01, 2005 at 01:45:13PM +0100, Hans Müller wrote:

> Hello, I can not send or receive any keys from keyserver.pgp.com or 
> keyserver-beta.pgp.com
> when I try
> gpg --send-keys BD7C8AA1 --keyserver ldap://keyserver-beta.pgp.com
> I only get this:
> gpg: WARNING: nothing exported
> gpg: WARNING: nothing exported
> gpgkeys: error retrieving LDAP server info: No such object
> gpg: keyserver internal error
> gpg: keyserver send failed: keyserver error

Your argument order is wrong.  Everything after --send-keys is treated
as a keyid/userid.  With a default keyserver set, I get:

  %gpg --send-keys BD7C8AA1 --keyserver ldap://keyserver-beta.pgp.com
  gpg: "ldap://keyserver-beta.pgp.com" not a key ID: skipping
  gpg: "--keyserver" not a key ID: skipping
  gpg: sending key BD7C8AA1 to hkp server keyserver.kjsl.com
  Host:           keyserver.kjsl.com
  Command:        SEND
  gpgkeys: HTTP URL is `hkp://keyserver.kjsl.com/pks/add'

> when i try
> gpg --refresh-keys BD7C8AA1 --keyserver ldap://keyserver-beta.pgp.com
> I get this:
> gpg: refreshing 1 key from ldap://keyserver-beta.pgp.com
> gpgkeys: error retrieving LDAP server info: No such object
> gpg: no valid OpenPGP data found.
> gpg: Total number processed: 0
> gpg: keyserver internal error
> gpg: keyserver refresh failed: keyserver error

Again, bad argument order, but if you were to set a default keyserver,
you'd probably fetch the key anyway:

  %gpg --refresh-keys BD7C8AA1 --keyserver ldap://keyserver-beta.pgp.com
  %gpg: refreshing 1 key from hkp://keyserver.kjsl.com
  %gpg: requesting key BD7C8AA1 from hkp server keyserver.kjsl.com
  %Host:           keyserver.kjsl.com
  %Command:        GET
  %gpgkeys: HTTP URL is `hkp://keyserver.kjsl.com/pks/lookup?op=get&options=mr&search=0xBD7C8AA1'
  %gpg: key BD7C8AA1: "Hans Müller <ndof at gmx.li>" not changed
  %gpg: Total number processed: 1
  %gpg:              unchanged: 1

-- 
Jason Harris           |  NIC:  JH329, PGP:  This _is_ PGP-signed, isn't it?
jharris at widomaker.com _|_ web:  http://keyserver.kjsl.com/~jharris/
          Got photons?   (TM), (C) 2004
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 309 bytes
Desc: not available
Url : /pipermail/attachments/20050101/b1241784/attachment.bin


More information about the Gnupg-users mailing list