gpg: New option --known-notation.
authorWerner Koch <wk@gnupg.org>
Wed, 29 Aug 2018 07:36:09 +0000 (09:36 +0200)
committerWerner Koch <wk@gnupg.org>
Wed, 29 Aug 2018 07:36:09 +0000 (09:36 +0200)
commit3da835713fb6220112d988e1953f3d84beabbf6a
treee999d83cf2981b60cc527fa5bb727bc588bf4309
parent7f172404bfcf719b9b1af4a182d4803525ebff7c
gpg: New option --known-notation.

* g10/gpg.c (oKnownNotation): New const.
(opts): Add option --known-notation.
(main): Set option.
* g10/parse-packet.c (known_notations_list): New local var.
(register_known_notation): New.
(can_handle_critical_notation): Rewrite to handle the new feature.
Also print the name of unknown notations in verbose mode.
--

GnuPG-bug-id: 4060
Signed-off-by: Werner Koch <wk@gnupg.org>
doc/gpg.texi
g10/gpg.c
g10/packet.h
g10/parse-packet.c