summaryrefslogtreecommitdiffstats
path: root/sm/decrypt.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2021-05-17 19:27:54 +0200
committerWerner Koch <wk@gnupg.org>2021-05-17 19:48:15 +0200
commit6dfae2f402a702ccd7f2c585b28cb356e9f26a26 (patch)
tree199d5a9ebc0f1afdeb94a8e8e0096985b41d9770 /sm/decrypt.c
parentdirmngr: LDAP search by a mailbox now ignores revoked keys. (diff)
downloadgnupg2-6dfae2f402a702ccd7f2c585b28cb356e9f26a26.tar.xz
gnupg2-6dfae2f402a702ccd7f2c585b28cb356e9f26a26.zip
gpg: Use a more descriptive prompt for symmetric decryption.
* g10/keydb.h (GETPASSWORD_FLAG_SYMDECRYPT): New. (passphrase_to_dek_ext): Remove this obsolete prototype. * g10/passphrase.c (passphrase_get): Add arg flags. Use new flag value. (passphrase_to_dek): Add arg flags and pass it on. * g10/mainproc.c (proc_symkey_enc): Use new flag. * sm/decrypt.c (pwri_decrypt): Use "passphrase". -- Signed-off-by: Werner Koch <wk@gnupg.org> (cherry picked from commit 03f83bcda5d1f8d8246bcc1afc603b7f74d0626b) Note that we keep on using the term "passphrase" although "password" would be better. There are however so many occurance of this and given it is a bike shedding topic we fix that in the PO files. Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to '')
-rw-r--r--sm/decrypt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sm/decrypt.c b/sm/decrypt.c
index bac63e1bc..d720913dc 100644
--- a/sm/decrypt.c
+++ b/sm/decrypt.c
@@ -657,7 +657,7 @@ pwri_decrypt (ctrl_t ctrl, gcry_sexp_t enc_val,
err = gpgsm_agent_ask_passphrase
(ctrl,
- i18n_utf8 (N_("Please enter the password for decryption.")),
+ i18n_utf8 (N_("Please enter the passphrase for decryption.")),
0, &passphrase);
if (err)
goto leave;