mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
gpg: Change pinentry prompt to talk about "secret key".
* g10/passphrase.c (gpg_format_keydesc): Add mode 2. Change strings. * g10/keydb.h (FORMAT_KEYDESC_NORMAL, FORMAT_KEYDESC_IMPORT) (FORMAT_KEYDESC_EXPORT): New. Use them for clarity. -- The use of the term "certificate" was more confusing than helpful.
This commit is contained in:
parent
e3a4ff89a0
commit
e549799db6
6 changed files with 38 additions and 14 deletions
|
@ -1431,7 +1431,7 @@ transfer_secret_keys (ctrl_t ctrl, struct stats_s *stats, kbnode_t sec_keyblock)
|
|||
|
||||
/* Send the wrapped key to the agent. */
|
||||
{
|
||||
char *desc = gpg_format_keydesc (pk, 1, 1);
|
||||
char *desc = gpg_format_keydesc (pk, FORMAT_KEYDESC_IMPORT, 1);
|
||||
err = agent_import_key (ctrl, desc, &cache_nonce,
|
||||
wrappedkey, wrappedkeylen, opt.batch);
|
||||
xfree (desc);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue