View previous topic :: View next topic |
Author |
Message |
ultimatedevr n00b
Joined: 16 Jan 2009 Posts: 4
|
Posted: Fri Jan 16, 2009 7:51 pm Post subject: [SOLVED] loop-aes LOOP_MULTI_KEY_SETUP: Invalid argument |
|
|
I'm trying to encrypt a partion with loop-aes w/multi-key support; I've been following the directions in the loop-aes readme (http://loop-aes.sourceforge.net/loop-AES.README, 7.2. Example 2 - Partition backed loop with gpg encrypted key file) and I've gotten to the part where I have to use losetup -F /dev/loop0 to setup the partition so that I can format it, but I get the error LOOP_MULTI_KEY_SETUP: Invalid argument. I can setup the partition when I remove the gpgkey statement in /etc/fstab, but then I don't have the protection of the gpg keys. Ideas? I'm using util-linux-2.14.1 (use flags crypt loop-aes nls unicode), loop-aes-3.2e, sharutils-4.7, and I have the loop module (from the loop-aes package) and cryptoloop module (from the kernel) loaded while setting up the encryption (I've heard that cryptoloop is deprecated, but if it's not loaded then I get a LOOP_SET_STATUS: Invalid argument, requested cipher or key length (256 bits) not supported by kernel)
Last edited by ultimatedevr on Fri Jan 16, 2009 9:16 pm; edited 1 time in total |
|
Back to top |
|
|
ultimatedevr n00b
Joined: 16 Jan 2009 Posts: 4
|
Posted: Fri Jan 16, 2009 8:49 pm Post subject: |
|
|
Nevermid I figured it out; I had to set CONFIG_BLK_DEV_LOOP=n in my kernel's .config to disable the kernel's loopback support and then re-install the loop-aes package. (apparently the check for this in the ebuild CONFIG_CHECK="!BLK_DEV_LOOP" didn't work; it should check if CONFIG_BLK_DEV_LOOP=n, because as it is now, the ebuild will build even if CONFIG_BLK_DEV_LOOP=m, which in my case is what was causing problems) |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|