Bug 11035 - Escape characters in password of some encrypted devices make problems.
Summary: Escape characters in password of some encrypted devices make problems.
Status: NEW
Alias: None
Product: hal
Classification: Unclassified
Component: misc (show other bugs)
Version: unspecified
Hardware: All Linux (All)
: medium minor
Assignee: David Zeuthen (not reading bugmail)
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-22 07:16 UTC by Reza Mohammadi
Modified: 2013-03-25 09:16 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.