Bug 11035

Summary: Escape characters in password of some encrypted devices make problems.
Product: hal Reporter: Reza Mohammadi <reza>
Component: miscAssignee: David Zeuthen (not reading bugmail) <zeuthen>
Status: NEW --- QA Contact:
Severity: minor    
Priority: medium    
Version: unspecified   
Hardware: All   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Reza Mohammadi 2007-05-22 07:16:38 UTC
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
Comment 1 chemtech 2013-03-25 09:16:46 UTC
Reza Mohammadi,
Do you still experience this issue with newer soft ?
Please check the status of your issue.
Or close this bug.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.