mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
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>
(cherry picked from commit 3da835713f
)
This commit is contained in:
parent
b02ad56a90
commit
a59a9962f4
4 changed files with 64 additions and 7 deletions
|
@ -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}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue