If this belongs in general, please let me know.
This was orignaly posted on dubyadubyadubya dot linuxquestions dot gro/questions/showthread.php?s=&postid=480359#post480359 Security.
EFS 2.6.0-test4
( post #1)
If this belongs in general, please let me know.
I am trying to set up an EFS on Linux 2.6.0-test4. Ive ran an EFS before, but cant seem to get it again. In the kernel I have HMAC static (i read this while searching the archives I dont know if its necessary) Serpent and AES as modules and cryptoloop as a module. When I try losetup -e serpent /dev/loop0 /tmp/crypto (the file exists) it just returns me to a bash prompt. I can then kill the loop device. When I try it with -e aes it tells me that cipher isnt loaded. I dont have a /proc/cihpers but I do have a /proc/crypto heres the entries.
cat /proc/crypto
name : serpent
module : serpent
blocksize : 16
min keysize : 0
max keysize : 32
name : aes
module : aes
blocksize : 16
min keysize : 16
max keysize : 32
Heres a cut and paste from me trying to get either a serpent, or aes EFS on the /tmp/crypto file.
mebox:/usr/src/linux# modprobe cryptoloop serpent
mebox:/usr/src/linux# losetup -e serpent /dev/loop0 /tmp/crypto
mybox:/usr/src/linux# losetup -d /dev/loop0
mybox:/usr/src/linux# modprobe aes
mybox:/usr/src/linux# losetup -e aes /dev/loop0 /tmp/crypto
The cipher does not exist, or a cipher module needs to be loaded into the kernel
ioctl: LOOP_SET_STATUS: Invalid argument
mybox:/usr/src/linux# losetup -d /dev/loop0
ioctl: LOOP_CLR_FD: No such device or address
Any help would be appreciated.
|