diff options
author | Werner Koch <[email protected]> | 2018-08-29 07:36:09 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2018-08-29 07:36:09 +0000 |
commit | 3da835713fb6220112d988e1953f3d84beabbf6a (patch) | |
tree | e999d83cf2981b60cc527fa5bb727bc588bf4309 /g10/packet.h | |
parent | gpg: Refresh expired keys originating from the WKD. (diff) | |
download | gnupg-3da835713fb6220112d988e1953f3d84beabbf6a.tar.gz gnupg-3da835713fb6220112d988e1953f3d84beabbf6a.zip |
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 <[email protected]>
Diffstat (limited to 'g10/packet.h')
-rw-r--r-- | g10/packet.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/g10/packet.h b/g10/packet.h index 3f872944b..6e1438be6 100644 --- a/g10/packet.h +++ b/g10/packet.h @@ -636,6 +636,9 @@ char *issuer_fpr_string (PKT_signature *sig); /*-- parse-packet.c --*/ + +void register_known_notation (const char *string); + /* Sets the packet list mode to MODE (i.e., whether we are dumping a packet or not). Returns the current mode. This allows for temporarily suspending dumping by doing the following: |