URL:
<http://savannah.nongnu.org/bugs/?23283>
Summary: interactive passphrase query is suboptimal
Project: duplicity
Submitted by: None
Submitted on: Sunday 05/18/2008 at 14:55 UTC
Category: None
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
I have noticed a couple of problems with the passphrase query.
First, decryption-only commands such as restore and list-current-files ask
for the passphrase twice, but this is unnecessary. It seems like only backups
should need this. Really only full backups need to ask twice for safety since
incrementals can validate against the encrypted archive, but that may make
expect scripts a bit more complicated.
Second, it would be helpful if the prompt went to stderr to handle the case
where the output is redirected, especially for list-current-files. This also
prevents contaminating the output of that command with the passphrase prompt
when used in a pipeline.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?23283>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
_______________________________________________
Duplicity-tracker mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/duplicity-tracker