diff options
author | Werner Koch <wk@gnupg.org> | 2024-04-17 12:16:20 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2024-04-17 12:16:20 +0200 |
commit | 7d6ad2866722aaa27b33338d0fbb33c7b6b94808 (patch) | |
tree | 1f49ee3ffc3732fb7872f3a8bae6fd24422b4ba8 /g10/options.h | |
parent | gpg: New command --quick-set-ownertrust. (diff) | |
download | gnupg2-7d6ad2866722aaa27b33338d0fbb33c7b6b94808.tar.xz gnupg2-7d6ad2866722aaa27b33338d0fbb33c7b6b94808.zip |
gpg: Mark disabled keys and add show-ownertrust list option.
* g10/options.h (LIST_SHOW_OWNERTRUST): New.
* g10/keylist.c (print_key_line): Show wonertrust and always show
whether a key is disabled.
* g10/gpg.c (parse_list_options): Add "show-ownertrust".
* g10/gpgv.c (get_ownertrust_string): Add stub.
* g10/test-stubs.c (get_ownertrust_string): Add stub.
--
Note that in a --with-colons listing the ownertrust has always been
emitted and the disabled state is marked in that listing with a
special 'D' usage.
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 e810adfb9..2fe4f5bbf 100644 --- a/g10/options.h +++ b/g10/options.h @@ -445,6 +445,7 @@ EXTERN_UNLESS_MAIN_MODULE int memory_stat_debug_mode; #define LIST_SHOW_UNUSABLE_SIGS (1<<16) #define LIST_SHOW_X509_NOTATIONS (1<<17) #define LIST_STORE_X509_NOTATIONS (1<<18) +#define LIST_SHOW_OWNERTRUST (1<<19) #define VERIFY_SHOW_PHOTOS (1<<0) #define VERIFY_SHOW_POLICY_URLS (1<<1) |