diff options
author | Werner Koch <[email protected]> | 2024-04-17 10:16:20 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2024-04-17 10:16:20 +0000 |
commit | 7d6ad2866722aaa27b33338d0fbb33c7b6b94808 (patch) | |
tree | 1f49ee3ffc3732fb7872f3a8bae6fd24422b4ba8 /g10/gpgv.c | |
parent | gpg: New command --quick-set-ownertrust. (diff) | |
download | gnupg-7d6ad2866722aaa27b33338d0fbb33c7b6b94808.tar.gz gnupg-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/gpgv.c')
-rw-r--r-- | g10/gpgv.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/g10/gpgv.c b/g10/gpgv.c index c3b09f752..50ec3917a 100644 --- a/g10/gpgv.c +++ b/g10/gpgv.c @@ -426,6 +426,14 @@ get_ownertrust (ctrl_t ctrl, PKT_public_key *pk) return TRUST_UNKNOWN; } +const char * +get_ownertrust_string (ctrl_t ctrl, PKT_public_key *pk, int no_create) +{ + (void)ctrl; + (void)pk; + (void)no_create; + return ""; +} /* Stubs: * Because we only work with trusted keys, it does not make sense to |