Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am looking for a linux sw that allows mounting a (usually large) file as a seprate encrypted filesystem.
IN WIndows there is a similar commercial product - safeboot vdisk.
what about linux ? I know it supports encrypted partitions, but I just want a file on the normal partition to be mountable as an encrypted fs
Try the Loopback encrypted filesystem HOWTO. A loopback device lets you mount a regular file as a filesystem; the HOWTO gets into doing that with encryption as well.
thanks!
I followed the
Encrypted filesystem HOWTO - but Sisce I am using kernel 2.6.3-4mdk and there are various cryptomodules available by default, which I loaded with modprobe, I hoped not to have to recompile the kernel - as the howto suggests.
Still, when executing
losetup -e ...
the result is invariably:
ioctl: LOOP_SET_STATUS: Invalid argument, requested cipher or key length (128 bits) not supported by kernel
what does it take to create an encrypted fs on mdk 10 ?
take a look at the the program "bestcrypt" all you have to do is compile it, and load up the modules to the kernel, it handles the loop back and encryptions for you
> ioctl: LOOP_SET_STATUS: Invalid argument, requested cipher or key length (128 bits) not supported by kernel
Are you sure that loop, cryptoloop and cryptoapi modules are loaded? Check also the man page of losetup. If there is only XOR and NONE listed as available ciphers, mandrake has not applied the necessary patch to util-linux.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.