Odd keyserver problem

Albrecht Dreß albrecht.dress at arcor.de
Sun Dec 3 15:34:26 CET 2006


Am 03.12.06 14:46 schrieb(en) Marcus Brinkmann:
> At Sun, 3 Dec 2006 00:33:52 -0500,
> David Shaw wrote:
> > > Generally when knowing the key ID you'd just use gpg --recv-key
> > > 0x7108E308 though.
> >
> > This is true, but nevertheless people sometimes do --search-key on a
> > key ID (I'm not really sure why).  I have fixed this to work again for
> > the next release.

This syntax was used in a /very/ old (dated 2001) and /very/ dumb script  
which I didn't use that often, and which simply stopped working at some  
point...  I am not sure where it came from, but iirc some old howto or man  
page versions advertised using names *or* key ids.  The 2.0.0 man pages  
are more explicit.

> A programmer's rule of thumb is "be strict in what you output, and
> liberal in what input you accept".

Looking through the man page, at some points where options accept "names"  
it might be handy to also allow "key-id" as cut'n'paste with a key id (as  
Marcus pointed out) is simply less effort than typing a name.

Maybe the man page should make the distinction between "key-id" and  
"names" parameters clearer, or add a description what "names" actually  
should look like?

Cheers, Albrecht.

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  Albrecht Dreß  -  Johanna-Kirchner-Straße 13  -  D-53123 Bonn (Germany)
        Phone (+49) 228 6199571  -  mailto:albrecht.dress at arcor.de
   GnuPG public key:  http://www.mynetcologne.de/~nc-dreszal/pubkey.asc
_________________________________________________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : /pipermail/attachments/20061203/4ca049ec/attachment-0001.pgp


More information about the Gnupg-devel mailing list