diff options
author | Werner Koch <[email protected]> | 2014-04-14 12:40:18 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2014-04-15 17:29:57 +0000 |
commit | e549799db66be30cdd68a3e6cdca9c6a050466d1 (patch) | |
tree | 98b6623d6e2908631988b5692891676cdc9c43b2 /g10/import.c | |
parent | agent: Add command DELETE_KEY. (diff) | |
download | gnupg-e549799db66be30cdd68a3e6cdca9c6a050466d1.tar.gz gnupg-e549799db66be30cdd68a3e6cdca9c6a050466d1.zip |
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.
Diffstat (limited to 'g10/import.c')
-rw-r--r-- | g10/import.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/import.c b/g10/import.c index c3ad53632..8223041d1 100644 --- a/g10/import.c +++ b/g10/import.c @@ -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); |