summaryrefslogtreecommitdiffstats
path: root/g10/key-clean.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2020-10-27 17:10:48 +0100
committerWerner Koch <wk@gnupg.org>2020-10-27 17:21:19 +0100
commit742e2729f4bcadfeb93260107462f4faa108d3b2 (patch)
treea328c109f93cbcc2a40ce30dfd353899b4fc3f47 /g10/key-clean.c
parentscd: Handle canonical serialno and app specific serialno differently. (diff)
downloadgnupg2-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/key-clean.c')
-rw-r--r--g10/key-clean.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/g10/key-clean.c b/g10/key-clean.c
index 496d0194e..9320428c8 100644
--- a/g10/key-clean.c
+++ b/g10/key-clean.c
@@ -37,8 +37,8 @@
/*
* Mark the signature of the given UID which are used to certify it.
- * To do this, we first revmove all signatures which are not valid and
- * from the remain ones we look for the latest one. If this is not a
+ * To do this, we first remove all signatures which are not valid and
+ * from the remaining we look for the latest one. If this is not a
* certification revocation signature we mark the signature by setting
* node flag bit 8. Revocations are marked with flag 11, and sigs
* from unavailable keys are marked with flag 12. Note that flag bits