Diffusion GnuPG a59a9962f48f

gpg: New option --known-notation.

Authored by werner on Aug 29 2018, 9:36 AM.


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.

(cherry picked from commit 3da835713fb6220112d988e1953f3d84beabbf6a)

  • GnuPG-bug-id: T4060
  • Signed-off-by: Werner Koch <wk@gnupg.org>