Checkout[1]

[1] http://alonbl.shoutwiki.com/wiki/Gentoo/Linux_Disk_Encryption_Using_LoopAES_And_SmartCards


On Tue, May 6, 2014 at 9:31 PM, Walter Dnes <waltdnes@waltdnes.org> wrote:
  I'm trying to set up USB-key-encryption for use with a laptop.  I'm
running mdev instead of udev on the laptop, so lvm doesn't work.  I did
manage to create /dev/mapper/control by running "dmsetup mknodes"
manually, but still got error messages about being unable to initialize
the encryption backend.

  Moving on to using loop-aes, I emerged sys-fs/loop-aes-3.7a and used
the "loop-aes" variant commands whilst following the the only docs that
I could find, namely http://loop-aes.sourceforge.net/loop-AES.README
I ran into problems when trying to mount the loop device.  Here's what
happens (passphrase is properly entered)...

[aa1][root][~] loop-aes-losetup -F /dev/loop0
Password:
ioctl: LOOP_MULTI_KEY_SETUP_V3: Invalid argument

  Anybody have any ideas?

--
Walter Dnes <waltdnes@waltdnes.org>
I don't run "desktop environments"; I run useful applications