mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
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>
This commit is contained in:
parent
e59d2b3632
commit
742e2729f4
7 changed files with 248 additions and 143 deletions
|
@ -398,6 +398,7 @@ EXTERN_UNLESS_MAIN_MODULE int memory_stat_debug_mode;
|
|||
#define LIST_SHOW_SIG_SUBPACKETS (1<<10)
|
||||
#define LIST_SHOW_USAGE (1<<11)
|
||||
#define LIST_SHOW_ONLY_FPR_MBOX (1<<12)
|
||||
#define LIST_SORT_SIGS (1<<13)
|
||||
|
||||
#define VERIFY_SHOW_PHOTOS (1<<0)
|
||||
#define VERIFY_SHOW_POLICY_URLS (1<<1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue