This seems fixed in Intrepid Alpha 5. Tested by creating an two LVs ("Root" and "Swap") in the same LVM VG. "Root" is encrypted with a passphrase, and "Swap" uses the "random key" option. Tested using Intrepid alpha 5 i386 under VMware Workstation 6.0.5.
The "random key" option is a bit misleading - I figured it would pseudo-encrypt the volume by storing the key somewhere in /boot or the partition header; instead it seems to erase the whole partition on startup every time. Guess those of us who want to make a key dongle out of a USB flash disk still have to hack our initrd.
(I suppose I'll have to open a new bug however, because it asks me if I want to use an encrypted home directory even when /home is already on a dm-crypt volume.)
This seems fixed in Intrepid Alpha 5. Tested by creating an two LVs ("Root" and "Swap") in the same LVM VG. "Root" is encrypted with a passphrase, and "Swap" uses the "random key" option. Tested using Intrepid alpha 5 i386 under VMware Workstation 6.0.5.
The "random key" option is a bit misleading - I figured it would pseudo-encrypt the volume by storing the key somewhere in /boot or the partition header; instead it seems to erase the whole partition on startup every time. Guess those of us who want to make a key dongle out of a USB flash disk still have to hack our initrd.
(I suppose I'll have to open a new bug however, because it asks me if I want to use an encrypted home directory even when /home is already on a dm-crypt volume.)
--Dan