Package: duplicity
Version: 0.7.06-1
Severity: minor
Tags: upstream patch
Dear Maintainer,
When backups are both encrypted and signed, duplicity prompts as
follows:
% duplicity --sign-key=HHHHHHHH foo file://$PWD/bar
Local and Remote metadata are synchronized, no sync needed.
Last full backup date: Sat Feb 13 06:22:53 2016
GnuPG passphrase:
GnuPG passphrase for signing key:
It is unclear what the purpose of the first prompt is. (I initially
assumed it was prompting for the signing key's passphrase twice.)
Please consider the following patch:
--- a/bin/duplicity
+++ b/bin/duplicity
@@ -195,7 +195,7 @@ def get_passphrase(n, action, for_signing=False):
if use_cache and globals.gpg_profile.passphrase:
pass1 = globals.gpg_profile.passphrase
else:
- pass1 = getpass_safe(_("GnuPG passphrase:") + " ")
+ pass1 = getpass_safe(_("GnuPG passphrase for
decryption:") + " ")
if n == 1:
pass2 = pass1
Thanks,
Daniel