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): Make global. -- GnuPG-bug-id: 5093
This commit is contained in:
parent
742e2729f4
commit
243f9176e7
7 changed files with 288 additions and 9 deletions
11
doc/gpg.texi
11
doc/gpg.texi
|
@ -1147,6 +1147,17 @@ you want to specify a different revocation reason, or to supply
|
|||
supplementary revocation text, you should use the interactive
|
||||
sub-command @code{revuid} of @option{--edit-key}.
|
||||
|
||||
@item --quick-revoke-sig @var{fpr} @var{signing-fpr} [@var{names}]
|
||||
@opindex quick-revoke-sig
|
||||
This command revokes the key signatures made by @var{signing-fpr} from
|
||||
the key specified by the fingerprint @var{fpr}. With @var{names}
|
||||
given only the signatures on user ids of the key matching any of the
|
||||
given names are affected (see @option{--quick-sign-key}). If a
|
||||
revocation already exists a notice is printed instead of creating a
|
||||
new revocation; no error is returned in this case. Note that key
|
||||
signature revocations may be superseded by a newer key signature and
|
||||
in turn again revoked.
|
||||
|
||||
@item --quick-set-primary-uid @var{user-id} @var{primary-user-id}
|
||||
@opindex quick-set-primary-uid
|
||||
This command sets or updates the primary user ID flag on an existing
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue