aboutsummaryrefslogtreecommitdiffstats
path: root/g10/gpg.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2024-03-14 19:58:01 +0000
committerWerner Koch <[email protected]>2024-03-14 19:58:01 +0000
commitf78501c54532fe091174b1b8a1c747fa4c4cda4f (patch)
tree0093428791430922782861c008389be8152812c6 /g10/gpg.c
parentgpg: new list-option show-x509-notations (diff)
downloadgnupg-f78501c54532fe091174b1b8a1c747fa4c4cda4f.tar.gz
gnupg-f78501c54532fe091174b1b8a1c747fa4c4cda4f.zip
gpg: new list-option store-x509-notations.
* g10/options.h (LIST_STORE_X509_NOTATIONS): New. * g10/gpg.c (parse_list_options): Add "store-x509-notations". * g10/keylist.c (print_x509_notations): Add arg PK and code to write a file. (list_signature_print): Add arg lastpk and handle new option. (list_keyblock_print): Track last key or subkey and pass to list_signature_print.
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 8e0c6479e..658b7c7c8 100644
--- a/g10/gpg.c
+++ b/g10/gpg.c
@@ -2087,6 +2087,7 @@ parse_list_options(char *str)
{"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 },
+ {"store-x509-notations",LIST_STORE_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,