LUKS-encrypted CDROM / DVD ROM are detected but mounting fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-mount (Fedora) |
Fix Released
|
Medium
|
|||
gnome-mount (Ubuntu) |
Invalid
|
Low
|
Unassigned |
Bug Description
I am creating LUKS-encrypted "crypto dvds" and "crypto cds" basically with the script found here:
http://
I can manually mount and umount win no problems the encrypted optical media, using the helper mount/umount scripts which just do a "cryptsetup luksOpen" etc.
This seems to indicate that the LUKS volumes are fine. I have various other LUKS partitions in HD and USB that I use daily without a glitch.
The whole CD encryption and manual mounting process works fine. However, when I insert an encrypted CD, gnome-mount detects that it is an encrypted CD and prompts me for the password. I put the correct password and then hit enter. Then the password prompt dialog window freezes for about 4 minutes, after which I get an error message suggesting that the password was incorrect. If I enter my password again, the window freezes again.
If I just hit Cancel at the password prompt, and the mount the encrypted CD by hand, everything works fine.
If this gets fixed, when I insert an encrypted CD I would just get prompted for the password, and if the password is correct the cd would be mounted to /media/cdrom , which would be awesome.
Perhaps this bug is the same as: Bug #117011 in gnome-mount, although I'm using optical media, and not USB storage.
Thanks!
Changed in gnome-mount: | |
status: | Unknown → In Progress |
Changed in gnome-mount: | |
importance: | Undecided → Low |
status: | Confirmed → Triaged |
Changed in gnome-mount (Fedora): | |
status: | In Progress → Fix Released |
Changed in gnome-mount (Fedora): | |
importance: | Unknown → Medium |
Description of problem:
cryptsetup fail on CDs/DVDs encrypted with LUKS. This causes the Gnome desktop
not to deal properly with them.
Version-Release number of selected component (if applicable): luks-1. 0.3-0.rc2
cryptsetup-
How reproducible:
Always.
Steps to Reproduce:
1. Insert a CD/DVD encrypted with LUKS (with the Gnome desktop).
Actual results:
Asks for password, but fails to mount. (NOTE: the cleartext dm device is faulty,
that's why the mount fails.)
Expected results:
After asking for the password to unlock the LUKS volume, the cleartext version
should be mounted under /media/something. Even w/o automagic mounting of the
device, the clear text version of the volume should be available for later mounting.
Additional info: lists.alioth. debian. org/pipermail/ pkg-cryptsetup- devel/2006- March/000213. html lists.alioth. debian. org/pipermail/ pkg-cryptsetup- devel/2006- March/000250. html
This is a well-known bug, see:
http://
It should be solved already:
http://
AFAICS, all it takes is to rebuild from the new tarball (rc3).
As a workaround, encrypted CDs/DVDs can be accessed by mapping the reader device
to a loop device and having cryptsetup work on the latter.
losetup /dev/loop0 /dev/cdrom myvolume /media/myvolume
cryptsetup luckOpen /dev/loop0 myvolume
mount /dev/mapper/
There's no quick and clean way to fix /usr/share/ hal/scripts/ hal-luks- * to do
the above, AFAIK.