danieldk
11-26-2006, 04:36 AM
I read a while ago that HAL/pmount/GNOME Volume Manager has LUKS integration in Fedora, I though it would be neat to try this on Debian unstable. It turned out to be quite simple:
- Besides pmount, the 'cryptsetup' package is required.
- After splitting up the USB flash drive in two partitions, I created an encrypted partition with 'luksformat':
luksformat -t ext2 /dev/sdc2
luksformat sets up a ext2 filesystem (journaling is bad for USB flash drives) on an AES-encrypted volume. It will ask a keyphrase.
- After that I reconnected the flash drive, GNOME popped up a nice "Enter your password." window, and the filesystem was mounted after doing this.
It has been possible to encrypt filesystems quite a while in Linux, but it is nice to see that this has been integrated with GNOME this well these days. Next up is encryption on FreeBSD with the GEOM framework :).
BTW. The prices of these drives a dropping without an end. Yesterday I bought a 512MB drive for 11 Euro. A 1GB drive was about 20 Euro.
- Besides pmount, the 'cryptsetup' package is required.
- After splitting up the USB flash drive in two partitions, I created an encrypted partition with 'luksformat':
luksformat -t ext2 /dev/sdc2
luksformat sets up a ext2 filesystem (journaling is bad for USB flash drives) on an AES-encrypted volume. It will ask a keyphrase.
- After that I reconnected the flash drive, GNOME popped up a nice "Enter your password." window, and the filesystem was mounted after doing this.
It has been possible to encrypt filesystems quite a while in Linux, but it is nice to see that this has been integrated with GNOME this well these days. Next up is encryption on FreeBSD with the GEOM framework :).
BTW. The prices of these drives a dropping without an end. Yesterday I bought a 512MB drive for 11 Euro. A 1GB drive was about 20 Euro.