diff options
| author | Werner Koch <[email protected]> | 2025-07-24 12:12:37 +0000 |
|---|---|---|
| committer | Werner Koch <[email protected]> | 2025-07-24 12:15:08 +0000 |
| commit | e3cc410003a91e7ab4c267e1285c0c4c57775be9 (patch) | |
| tree | b7e3a38721ce846352ce76bf4d277f5972eaa6ac /g10/options.h | |
| parent | gpgsm: Fix caching of the trustlist's flags. (diff) | |
| download | gnupg-e3cc410003a91e7ab4c267e1285c0c4c57775be9.tar.gz gnupg-e3cc410003a91e7ab4c267e1285c0c4c57775be9.zip | |
gpgv: New option --print-notation.
* g10/keylist.c (print_matching_notations): New.
* g10/mainproc.c (check_sig_and_print): Call this.
* g10/options.h (opt): Add field print_notations.
* g10/gpgv.c (oPrintNotation): New.
(opts): Add "print-notation".
(main): Implement.
--
I had the code floating around but can't remember what triggered me to
write this. But it might eventually be useful, so better apply it.
Diffstat (limited to 'g10/options.h')
| -rw-r--r-- | g10/options.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/g10/options.h b/g10/options.h index cd5c19f45..28fc2207a 100644 --- a/g10/options.h +++ b/g10/options.h @@ -214,6 +214,7 @@ struct int no_encrypt_to; int encrypt_to_default_key; int interactive; + strlist_t print_notations; /* Name of notations to print. */ struct notation *sig_notations; struct notation *cert_notations; strlist_t sig_policy_url; |
