diff options
author | Werner Koch <[email protected]> | 2018-08-29 07:36:09 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2018-08-29 07:36:44 +0000 |
commit | a59a9962f48f828ea7d22362dfa6d82841551110 (patch) | |
tree | 21e57cb41e18b984df80ca76604aedad6f10b5ae /doc/gpg.texi | |
parent | po: Update Russian translation. (diff) | |
download | gnupg-a59a9962f48f828ea7d22362dfa6d82841551110.tar.gz gnupg-a59a9962f48f828ea7d22362dfa6d82841551110.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]>
(cherry picked from commit 3da835713fb6220112d988e1953f3d84beabbf6a)
Diffstat (limited to 'doc/gpg.texi')
-rw-r--r-- | doc/gpg.texi | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/gpg.texi b/doc/gpg.texi index d0aa0100e..a72505f9b 100644 --- a/doc/gpg.texi +++ b/doc/gpg.texi @@ -2933,6 +2933,13 @@ smartcard, and "%%" results in a single "%". %k, %K, and %f are only meaningful when making a key signature (certification), and %c is only meaningful when using the OpenPGP smartcard. +@item --known-notation @var{name} +@opindex known-notation +Adds @var{name} to a list of known critical signature notations. The +effect of this is that gpg will not mark a signature with a critical +signature notation of that name as bad. Note that gpg already knows +by default about a few critical signatures notation names. + @item --sig-policy-url @var{string} @itemx --cert-policy-url @var{string} @itemx --set-policy-url @var{string} |