HAL

Comment 1 for bug 112657

Revision history for this message
In , Reza Mohammadi (remohammadi) wrote :

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