Endless retype passphrase when typo
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Duplicity |
Fix Released
|
Medium
|
Unassigned |
Bug Description
When duplicity asks for the first time for the passhrase, I enter a password, but I make an unknown typo, the second time when "Retype passphrase to confirm" I type the correct intended passphrase. Duplicity correctly reports "First and second passphrases do not match! Please try again.", but I cannot ctrl-c, nor ctrl-z, or anything, I have to killall duplicity to stop the loop:
~# duplicity . webdavs:
GnuPG passphrase:
Synchronizing remote metadata to local cache...
Last full backup date: none
No signatures found, switching to full backup.
Retype passphrase to confirm:
First and second passphrases do not match! Please try again.
Retype passphrase to confirm:
Using
duplicity 0.6.11.
python 2.7
Archlinux, kernel 2.6.35-zen
Related branches
- Peter Wu (community): Needs Fixing
- duplicity-team: Pending requested
-
Diff: 314 lines (+116/-25)4 files modifiedduplicity-bin (+65/-18)
duplicity.1 (+30/-5)
duplicity/commandline.py (+3/-0)
duplicity/gpg.py (+18/-2)
Changed in duplicity: | |
importance: | Undecided → Medium |
milestone: | none → 0.6.14 |
Changed in duplicity: | |
status: | Confirmed → Fix Committed |
Changed in duplicity: | |
status: | Fix Committed → Fix Released |
Related bug: bugs.python. org/issue11236
http://
A work-around could be asking the user whether [s]he wants to abort after entering an invalid passphrase.