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/keyedit.h | |
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 'g10/keyedit.h')
-rw-r--r-- | g10/keyedit.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/g10/keyedit.h b/g10/keyedit.h index af5e99664..89c408b63 100644 --- a/g10/keyedit.h +++ b/g10/keyedit.h @@ -33,6 +33,9 @@ #define NODFLG_SELKEY (1<<9) /* Indicate the selected key. */ #define NODFLG_SELSIG (1<<10) /* Indicate a selected signature. */ +#define NODFLG_MARK_B (1<<11) /* Temporary mark in key listing code. */ + + /*-- keyedit.c --*/ void keyedit_menu (ctrl_t ctrl, const char *username, strlist_t locusr, strlist_t commands, int quiet, int seckey_check ); |