mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +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): New.
--
GnuPG-bug-id: 5093
Backported-from-master: 243f9176e7
This commit is contained in:
parent
38040ffee8
commit
7ec56b0336
7 changed files with 334 additions and 8 deletions
|
@ -33,6 +33,8 @@
|
|||
#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 );
|
||||
|
@ -45,6 +47,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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue