Question about specifics of --locate-key option

Werner Koch wk at
Mon Oct 15 19:38:44 CEST 2018

On Mon, 15 Oct 2018 15:21, gnupg-users at said:
> This, as it turns out, does not trigger WKD. Removing "<" and ">" sure
> enough does the trick and the key is found.

The gnupg internal function to extract the addrspec is
mailbox_from_userid and its test program t-mbox-utils.c has these
        /* input */                   /* Output, NULL = invalid */
      { "Werner Koch <wk at>", "wk at" },
      { "<wk at>", "wk at" },
      { "wk at", "wk at" },
      { "wk at ", NULL },

Whis indicates that it should work.  By adding a "--debug lookup" to the
gpg invocation you might be abale to see more.



Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <>

More information about the Gnupg-users mailing list