Mounting LUKS-enabled USB key always fails with "wrong passphrase" message
Bug #17493 reported by
Martijn vdS
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-volume-manager (Ubuntu) |
Fix Released
|
Medium
|
Martin Pitt |
Bug Description
When I plug in my LUKS-enabled usb-disk, gnome-volume-
passphrase.
When I type the passphrase, the device is not mounted, and this is in my
~/.xsession-errors:
manager.c/1033: Changed: /dev/sda1
manager.c/966: Added: /dev/sda1
** (gnome-
/usr/bin/pmount-hal
Error: could not decrypt device (wrong passphrase?)
I setup LUKS like this:
cryptsetup luksFormat /dev/sda1
cryptsetup luksOpen /dev/sda1 usbdisk
mkfs.ext3 /dev/mapper/usbdisk
cryptsetup luksClose usbdisk
# then pull it out & plug it back in, and gnome-volume-
passphrase.
To post a comment you must log in.
Just to confirm, the manual method
pmount /dev/sda1
works?
If so, I'll build an extra debugging version soon. If you have time, maybe you
can do that yourself :-)