gpg: New option --disable-signer-uid, create Signer's UID sub-packet.
authorWerner Koch <wk@gnupg.org>
Mon, 13 Jun 2016 09:24:09 +0000 (11:24 +0200)
committerWerner Koch <wk@gnupg.org>
Mon, 13 Jun 2016 09:24:09 +0000 (11:24 +0200)
commit61e7fd68c05ed185728e9da45f7a44a2323065ad
treeb15ce50d5fd51ea6833f0620e51df5ae8bbd7bc4
parent08c82b1b55d28ffd09b859205b7686bcefae5011
gpg: New option --disable-signer-uid, create Signer's UID sub-packet.

* g10/gpg.c (oDisableSignerUID): New.
(opts): New option '--disable-signer-uid'.
(main): Set option.
* g10/options.h (opt): Add field flags.disable_signer_uid.
* g10/sign.c: Include mbox-util.h.
(mk_notation_policy_etc): Embed the signer's uid.
* g10/mainproc.c (check_sig_and_print): Do not use WKD for auto key
retrieval if --disable-signer-uid is used.
--

Signed-off-by: Werner Koch <wk@gnupg.org>
doc/gpg.texi
g10/gpg.c
g10/mainproc.c
g10/options.h
g10/sign.c