MJ Ray wrote:
xsprite@bigfoot.com writes:
Something like this worked for me:
# dd if=/dev/urandom of=/mycfs bs=1m count=$size
This worked OK.
# modprobe $cipher # losetup -e $cipher /dev/loop0 /mycfs (prompts for key) (add more layers here if needed - by incrementing the loop device and using the previous loop device as the second parameter..)
Any body have any problems compiling linux-utils?
specificaly, make mount:
nfsmount.c: In function `nfsmount': nfsmount.c:647: `NFS_FHSIZE' undeclared (first use in this function) nfsmount.c:647: (Each undeclared identifier is reported only once nfsmount.c:647: for each function it appears in.) nfsmount.c:665: warning: unreachable code at beginning of switch statement nfsmount.c:699: `NFS_PORT' undeclared (first use in this function)
and make losetup:
lomount.c:50: `LO_CRYPT_SERPENT' undeclared here (not in a function) lomount.c:50: initializer element is not constant lomount.c:50: (near initialization for `crypt_type_tbl[7].id') lomount.c:51: `LO_CRYPT_MARS' undeclared here (not in a function) lomount.c:51: initializer element is not constant lomount.c:51: (near initialization for `crypt_type_tbl[8].id') lomount.c:52: `LO_CRYPT_RC6' undeclared here (not in a function) lomount.c:52: initializer element is not constant lomount.c:52: (near initialization for `crypt_type_tbl[9].id') lomount.c:53: `LO_CRYPT_DES_EDE3' undeclared here (not in a function) lomount.c:53: initializer element is not constant lomount.c:53: (near initialization for `crypt_type_tbl[10].id') lomount.c:54: `LO_CRYPT_DFC' undeclared here (not in a function) lomount.c:54: initializer element is not constant lomount.c:54: (near initialization for `crypt_type_tbl[11].id') lomount.c: In function `set_loop': lomount.c:265: `LO_CRYPT_SERPENT' undeclared (first use in this function) lomount.c:265: (Each undeclared identifier is reported only once lomount.c:265: for each function it appears in.) lomount.c:266: `LO_CRYPT_MARS' undeclared (first use in this function) lomount.c:267: `LO_CRYPT_RC6' undeclared (first use in this function) lomount.c:268: `LO_CRYPT_DES_EDE3' undeclared (first use in this function) lomount.c:269: `LO_CRYPT_DFC' undeclared (first use in this function)
This was after rebooting with the new kernel. The ciphers were built into the kernel, and are there, dmesg:
cryptoapi: Registered serpent (7) cryptoapi: Registered serpent-cbc (65543) cryptoapi: Registered blowfish (4) cryptoapi: Registered blowfish-cbc (65540) cryptoapi: Registered idea (6) cryptoapi: Registered idea-cbc (65542)
Thanks,
Andrew.