You are not logged in.

#1 2007-05-26 14:09:34

cassy
Member
Registered: 2007-05-26
Posts: 6

PB with HAL to mount encrypted usb key (LUKS,AES on ext3)

Hi!
I have encrypted a usb key with LUKS.
I have choosen AES encryption on a usb drive formated in ext3.

I mount manually this key successully with;

cryptsetup luksOpen /dev/sdg1 usbkey
mount /dev/mapper/usbkey /mnt/usbkey

In /etc/rc.conf I load aes, dm_crypt and dm-mod modules like this:
MODULES=(mii sis900 aes dm-crypt dm-mod)

graphically, i would like that gnome-volume-manager send me a popup where I can put my LUKS passphrase when I plug this usbkey.
How to do that?
Actually I have this message:

Échec au montage de "/org/freedesktop/Hal/devices/volume_uuid_cc3e2043_98f1_4218_9222_1c21480d0b7d".
Le périphérique "/org/freedesktop/Hal/devices/volume_uuid_cc3e2043_98f1_4218_9222_1c21480d0b7d" n'est pas un volume ou un disque.

So in english it can't plug it, this device is not a volume or a disk.
In fact it try to mount, but it can't because it's encrypted.
I run hal-device-manager and HAL recognize my usb key as encrypted so why it doesn't ask me the luks passphrase

Thanks for your help.
Cassy

Last edited by cassy (2007-05-27 07:36:00)

Offline

#2 2007-05-26 16:23:10

cassy
Member
Registered: 2007-05-26
Posts: 6

Re: PB with HAL to mount encrypted usb key (LUKS,AES on ext3)

I have read this page.

5# Hald should identify the disk as a LUKS disk. One may confirm this with "lshal | grep LUKS."

[cassy@arch ~]$ lshal | grep LUKS
  info.product = 'Volume (crypto_LUKS)'  (string)
  volume.fstype = 'crypto_LUKS'  (string)

6# Gnome-volume-manager should receive a notification about the new device. System should prompt you for a password.

Ok the problem is here.
I have gnome-volume-manager-2.17.0-2. This package does it contains David Zeuthen's work ?

Last edited by cassy (2007-05-26 16:23:39)

Offline

#3 2007-05-26 16:56:23

cassy
Member
Registered: 2007-05-26
Posts: 6

Re: PB with HAL to mount encrypted usb key (LUKS,AES on ext3)

I have verified gnome-volume-manager-2.17.0 and gnome-vfs-2.18.1 contain his modifications.

So why I don't have this?

Last edited by cassy (2007-05-26 16:57:49)

Offline

#4 2007-05-26 17:22:15

cassy
Member
Registered: 2007-05-26
Posts: 6

Re: PB with HAL to mount encrypted usb key (LUKS,AES on ext3)

this is my /etc/crypttab

#usbkey UUID=c419f7dc-5437-4336-a244-f6755eaf3cb0 none luks,retry=1,cipher=aes-$
#usbkey /dev/sdb1
usbkey /dev/sdb1 ASK luks,retry=1,cipher=aes-cbc-essiv:sha256

Last edited by cassy (2007-05-26 18:02:05)

Offline

Board footer

Powered by FluxBB