diff options
author | Werner Koch <wk@gnupg.org> | 2020-10-28 17:06:27 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2020-10-28 17:06:27 +0100 |
commit | 243f9176e799b2328f2e5bed93099bfc474fdc5a (patch) | |
tree | 3e2d0ca22cba6bd17e0e15d12f041ff17450ea3a /g10/keyedit.h | |
parent | gpg: Sort the signatures in standard key listings. (diff) | |
download | gnupg2-243f9176e799b2328f2e5bed93099bfc474fdc5a.tar.xz gnupg2-243f9176e799b2328f2e5bed93099bfc474fdc5a.zip |
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
Diffstat (limited to 'g10/keyedit.h')
-rw-r--r-- | g10/keyedit.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/g10/keyedit.h b/g10/keyedit.h index 89c408b63..b6e5b58b9 100644 --- a/g10/keyedit.h +++ b/g10/keyedit.h @@ -48,6 +48,8 @@ void keyedit_quick_revuid (ctrl_t ctrl, const char *username, const char *uidtorev); void keyedit_quick_sign (ctrl_t ctrl, const char *fpr, strlist_t uids, strlist_t locusr, int local); +void keyedit_quick_revsig (ctrl_t ctrl, const char *username, + const char *sigtorev, strlist_t affected_uids); void keyedit_quick_set_expire (ctrl_t ctrl, const char *fpr, const char *expirestr, char **subkeyfprs); |