diff options
author | Werner Koch <wk@gnupg.org> | 2020-10-27 17:10:48 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2020-10-27 17:21:19 +0100 |
commit | 742e2729f4bcadfeb93260107462f4faa108d3b2 (patch) | |
tree | a328c109f93cbcc2a40ce30dfd353899b4fc3f47 /g10/trustdb.c | |
parent | scd: Handle canonical serialno and app specific serialno differently. (diff) | |
download | gnupg2-742e2729f4bcadfeb93260107462f4faa108d3b2.tar.xz gnupg2-742e2729f4bcadfeb93260107462f4faa108d3b2.zip |
gpg: Sort the signatures in standard key listings.
* g10/gpg.c (parse_list_options): Add "sort-sigs".
(main): Make it the default.
* g10/options.h (LIST_SORT_SIGS): New.
* g10/keylist.c (cmp_signodes): New.
(list_keyblock_print): Sort signatures and factor signature printing
code out to ...
(list_signature_print): new.
--
In particular together with --full-timestamps this makes it easier to
see the history of key signatures and their revocations. The
self-signatures are also printed first. To disable this
--list-options no-sort-sigs
can be used.
Also don't print the annoying "no recocation reason specified"
message.
Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to '')
-rw-r--r-- | g10/trustdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/trustdb.c b/g10/trustdb.c index 4669ac0e8..a313a423c 100644 --- a/g10/trustdb.c +++ b/g10/trustdb.c @@ -1834,7 +1834,7 @@ search_skipfnc (void *opaque, u32 *kid, int dummy_uid_no) /* * Scan all keys and return a key_array of all suitable keys from - * kllist. The caller has to pass keydb handle so that we don't use + * klist. The caller has to pass keydb handle so that we don't use * to create our own. Returns either a key_array or NULL in case of * an error. No results found are indicated by an empty array. * Caller hast to release the returned array. |