1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

gpg: New command --quick-revoke-sig

* g10/gpg.c (enum cmd_and_opt_values): Add aQuickRevSig.
(opts): Add --quick-revoke-sig.
(main): Implement.
* g10/keyedit.c (quick_find_keyblock): Add arg 'want_secret' and
adjust all callers.
(keyedit_quick_revsig): new.
* g10/revoke.c (get_default_sig_revocation_reason): New.
* g10/keylist.c (cmp_signodes): Make global.
--

GnuPG-bug-id: 5093
This commit is contained in:
Werner Koch 2020-10-28 17:06:27 +01:00
parent 742e2729f4
commit 243f9176e7
No known key found for this signature in database
GPG key ID: E3FDFF218E45B72B
7 changed files with 288 additions and 9 deletions

View file

@ -940,7 +940,7 @@ dump_attribs (const PKT_user_id *uid, PKT_public_key *pk)
/* Order two signatures. We first order by keyid and then by creation
* time. */
static int
int
cmp_signodes (const void *av, const void *bv)
{
const kbnode_t an = *(const kbnode_t *)av;