cryptsetup boot prompt doesn't handle passwords with backslashes
Bug #552862 reported by
David Barr
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cryptsetup (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: cryptsetup
This is reproducible in Hardy, I'm attempting to reproduce this in Lucid.
Set your cryptsetup passphrase to a password with a backslash character. For example, try the behavior with both "password\" and "pass\word".
On boot when it asks for your passphrase, you must enter it with the backslash character escaped, e.g. "password\\" and "pass\\word".
Note the very curious behavior when you use the password "password\". When you hit <enter> after the backslash, the password doesn't actually get entered, as if the newline is getting escaped.
This seems to point to something maybe in its stty setup during the prompt?
To post a comment you must log in.
Same problem here in 13.04 with special characters like ";" or "_"