Question about specifics of --locate-key option
Werner Koch
wk at gnupg.org
Mon Oct 15 19:38:44 CEST 2018
On Mon, 15 Oct 2018 15:21, gnupg-users at gnupg.org 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
vectors:
/* input */ /* Output, NULL = invalid */
{ "Werner Koch <wk at gnupg.org>", "wk at gnupg.org" },
{ "<wk at gnupg.org>", "wk at gnupg.org" },
{ "wk at gnupg.org", "wk at gnupg.org" },
{ "wk at gnupg.org ", NULL },
...
Whis indicates that it should work. By adding a "--debug lookup" to the
gpg invocation you might be abale to see more.
Salam-Shalom,
Werner
--
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: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20181015/652cc3a3/attachment.sig>
More information about the Gnupg-users
mailing list