mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
* keylist.c (show_notation): Use bits to select which sort of notation to
show. Don't allow a not-shown notation to prevent us from issuing the proper --status-fd message. * options.h, g10.c (main): Add show-std/standard-notations and show-user-notations. show-notations is both. Default is to show standard notations only during verify. Change all callers.
This commit is contained in:
parent
0bfa710643
commit
f106448a7d
6 changed files with 75 additions and 47 deletions
|
@ -1447,7 +1447,7 @@ main( int argc, char **argv )
|
|||
opt.keyserver_options.options=
|
||||
KEYSERVER_INCLUDE_SUBKEYS|KEYSERVER_INCLUDE_REVOKED|KEYSERVER_TRY_DNS_SRV|KEYSERVER_HONOR_KEYSERVER_URL;
|
||||
opt.verify_options=
|
||||
VERIFY_SHOW_POLICY_URLS|VERIFY_SHOW_NOTATIONS|VERIFY_SHOW_KEYSERVER_URLS;
|
||||
VERIFY_SHOW_POLICY_URLS|VERIFY_SHOW_STD_NOTATIONS|VERIFY_SHOW_KEYSERVER_URLS;
|
||||
opt.trust_model=TM_AUTO;
|
||||
opt.mangle_dos_filenames=0;
|
||||
opt.min_cert_level=2;
|
||||
|
@ -2126,6 +2126,9 @@ main( int argc, char **argv )
|
|||
{"show-photos",LIST_SHOW_PHOTOS,NULL},
|
||||
{"show-policy-urls",LIST_SHOW_POLICY_URLS,NULL},
|
||||
{"show-notations",LIST_SHOW_NOTATIONS,NULL},
|
||||
{"show-std-notations",LIST_SHOW_STD_NOTATIONS,NULL},
|
||||
{"show-standard-notations",LIST_SHOW_STD_NOTATIONS,NULL},
|
||||
{"show-user-notations",LIST_SHOW_USER_NOTATIONS,NULL},
|
||||
{"show-keyserver-urls",LIST_SHOW_KEYSERVER_URLS,NULL},
|
||||
{"show-validity",LIST_SHOW_VALIDITY,NULL},
|
||||
{"show-unusable-uids",LIST_SHOW_UNUSABLE_UIDS,NULL},
|
||||
|
@ -2152,6 +2155,9 @@ main( int argc, char **argv )
|
|||
{"show-photos",VERIFY_SHOW_PHOTOS,NULL},
|
||||
{"show-policy-urls",VERIFY_SHOW_POLICY_URLS,NULL},
|
||||
{"show-notations",VERIFY_SHOW_NOTATIONS,NULL},
|
||||
{"show-std-notations",VERIFY_SHOW_STD_NOTATIONS,NULL},
|
||||
{"show-standard-notations",VERIFY_SHOW_STD_NOTATIONS,NULL},
|
||||
{"show-user-notations",VERIFY_SHOW_USER_NOTATIONS,NULL},
|
||||
{"show-keyserver-urls",VERIFY_SHOW_KEYSERVER_URLS,NULL},
|
||||
{"show-validity",VERIFY_SHOW_VALIDITY,NULL},
|
||||
{"show-unusable-uids",VERIFY_SHOW_UNUSABLE_UIDS,NULL},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue