aboutsummaryrefslogtreecommitdiffstats
path: root/g10/gpg.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2024-03-12 17:01:24 +0000
committerWerner Koch <[email protected]>2024-03-12 17:01:24 +0000
commit14c1b73093e3fcbc43b04dfc520eb35d61241489 (patch)
treea62908e140c613c1834d7f2b3d3c18fb322a092f /g10/gpg.c
parentcard: Use xstrdup for module names. (diff)
downloadgnupg-14c1b73093e3fcbc43b04dfc520eb35d61241489.tar.gz
gnupg-14c1b73093e3fcbc43b04dfc520eb35d61241489.zip
gpg: new list-option show-x509-notations
* g10/gpg.c (parse_list_options): Add new option. * g10/options.h (LIST_SHOW_X509_NOTATIONS): New. * g10/build-packet.c (search_sig_notations): New. * g10/keylist.c (print_x509_notations): New. (list_signature_print): Use macros for the sig classes. Call print_x509_notations. (list_keyblock_print): Call list_signature_print if x509 notation printing is enabled.
Diffstat (limited to 'g10/gpg.c')
-rw-r--r--g10/gpg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/g10/gpg.c b/g10/gpg.c
index bef3b6fbd..8e0c6479e 100644
--- a/g10/gpg.c
+++ b/g10/gpg.c
@@ -2086,6 +2086,7 @@ parse_list_options(char *str)
NULL},
{"show-user-notations",LIST_SHOW_USER_NOTATIONS,NULL,
N_("show user-supplied notations during signature listings")},
+ {"show-x509-notations",LIST_SHOW_X509_NOTATIONS,NULL, NULL },
{"show-keyserver-urls",LIST_SHOW_KEYSERVER_URLS,NULL,
N_("show preferred keyserver URLs during signature listings")},
{"show-uid-validity",LIST_SHOW_UID_VALIDITY,NULL,