1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-06-06 23:17:47 +02:00

gpg: Make --quick-sign-key promote local key signatures.

* g10/keyedit.c (sign_uids): Promote local sigs in quick mode.
This commit is contained in:
Werner Koch 2014-07-23 12:18:19 +02:00
parent 834b4a28f7
commit 17404b2fcc
2 changed files with 4 additions and 4 deletions

View File

@ -932,7 +932,9 @@ interaction. The @code{fpr} must be the verified primary fingerprint
of a key in the local keyring. If no @code{names} are given, all of a key in the local keyring. If no @code{names} are given, all
useful user ids are signed; with given [@code{names}] only useful user useful user ids are signed; with given [@code{names}] only useful user
ids matching one of theses names are signed. The command ids matching one of theses names are signed. The command
@option{--quick-lsign-key} marks the signatures as non-exportable. @option{--quick-lsign-key} marks the signatures as non-exportable. If
such a non-exportable signature already exists the
@option{--quick-sign-key} turns it into a exportable signature.
This command uses reasonable defaults and thus does not provide the This command uses reasonable defaults and thus does not provide the
full flexibility of the "sign" subcommand from @option{--edit-key}. full flexibility of the "sign" subcommand from @option{--edit-key}.

View File

@ -767,9 +767,7 @@ sign_uids (estream_t fp,
tty_fprintf (fp, _("Your current signature on \"%s\"\n" tty_fprintf (fp, _("Your current signature on \"%s\"\n"
"is a local signature.\n"), user); "is a local signature.\n"), user);
if (quick) if (quick || cpr_get_answer_is_yes
;
else if (cpr_get_answer_is_yes
("sign_uid.local_promote_okay", ("sign_uid.local_promote_okay",
_("Do you want to promote " _("Do you want to promote "
"it to a full exportable " "signature? (y/N) "))) "it to a full exportable " "signature? (y/N) ")))