loopback encryption only works when compiled as a module and not if compiled into kernel.
I'm trying to use loopback encryption on a file but the losetup only works if "loopback device support" and "Twofish encryption for loopback device" is compiled as modules. When compiled directly into the kernel it will not. I'm using the command line: losetup -e twofish /dev/loop0 /root/testfile losetup asks for a password but returns: ioctl: LOOP_SET_STATUS: invalid argument when one is entered, exactly as if one forgets to load the loop_fish2 module (when compiled as modules). I have tried the latest SuSE kernel 2.4.20-13 on a 8.2 system but it still will not work. Any suggestions Thanks in advance Bo Jacobsen
On Fri, 2 May 2003 17:40:46 +0200
"Bo Jacobsen"
I'm trying to use loopback encryption on a file but the losetup only works if "loopback device support" and "Twofish encryption for loopback device" is compiled as modules. When compiled directly into the kernel it will not.
I'm using the command line: losetup -e twofish /dev/loop0 /root/testfile
losetup asks for a password but returns: ioctl: LOOP_SET_STATUS: invalid argument when one is entered, exactly as if one forgets to load the loop_fish2 module (when compiled as modules).
I have tried the latest SuSE kernel 2.4.20-13 on a 8.2 system but it still will not work. Any suggestions
I compiled encrypted loopback support into the kernel, and it works. I did it because I wanted the Rijndael algorithm, whereas suse only provides two-fish. So I'm guessing you did something wrong. Maybe you need to rebuild losetup? The Encryption-HOWTO.tar.gz pretty much walks you through it. http://encryptionhowto.sourceforge.net/ I compiled my kernel with 2 files from patch-int-2.4.20.0 and loop-jari-2.4.20.0.patch I seem to remember getting them from www.kerneli.org but that website is down now from where I'm at. You should be able to find them with a ftp-search. -- use Perl; #powerful programmable prestidigitation
participants (2)
-
Bo Jacobsen
-
zentara