Thomas Roessler <[EMAIL PROTECTED]>:

> > It looks as though the argument %r given to pkspxycwrap is an
> > e-mail address. 
> 
> Indeed; I have to admit that the muttrc (5) manual page isn't
> completely accurate on this.
> 
> > This doesn't agree with someone's suggestion to set
> 
> >   pgp_getkeys_command="gpg --recv %r"
> 
> > because the argument to gpg --recv is a key ID ... so I'm
> > confused.
> 
> Is it a numerical key ID, or a string key ID?  Should it be the
> latter, this may just be fine, since e-mail addresses should usually
> help to find the right key on a message.  (Not always, but in most
> cases, this works nicely.)

Looks like it has to be numeric:

$ gpg --keyserver wwwkeys.pgp.net --recv 57548DCD
gpg: requesting key 57548DCD from wwwkeys.pgp.net ...
gpg: key 57548DCD: 8 new signatures
gpg: Total number processed: 1
gpg:         new signatures: 8
$ gpg --keyserver wwwkeys.pgp.net --recv 57548DCG
gpg: 57548DCG: not a valid key ID
$ 

Reply via email to