cryptsetup boot prompt doesn't handle passwords with backslashes

Bug #552862 reported by David Barr
10
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?

Revision history for this message
theghost (theghost) wrote :

Same problem here in 13.04 with special characters like ";" or "_"

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in cryptsetup (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.