hal-luks-setup-linux does not handle password containing the backslash charactesr
Bug #112657 reported by
Fabrizio Tarizzo
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HAL |
Confirmed
|
Low
|
|||
hal (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: hal
If the passphrase of a LUKS encrypted partition contains the backslash character, hal-luks-
The "read password" in the hal-luks-
I verified this on hal 0.5.8.1-4ubuntu12 (Feisty)
Changed in hal: | |
status: | Unknown → Confirmed |
Changed in hal: | |
importance: | Unknown → Low |
Changed in hal: | |
importance: | Low → Unknown |
Changed in hal: | |
importance: | Unknown → Low |
To post a comment you must log in.
I have a usb hard drive with one encrypted partition. When I turn on my computer and my hard is plugged, cryptdisks-early service ask my password and all things are ok. But when I turn on my computer and plug the hard when gnome is started, /usr/lib/ hal/scripts/ linux/hal- luks-setup- linux asks my password. I have "\" character in my password and it is escaped in this line of that script:
if ! echo "$PASSWORD" | $CRYPTSETUP luksOpen $HAL_PROP_ BLOCK_DEVICE luks_crypto_ $HAL_PROP_ VOLUME_ UUID 2> /dev/null; then
It's not so bad! I have a device which accepts two different passwords depending on the situation, one with one backslash and the other with two backslashes; It's more secure! :D