LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
Search this Thread
Old 03-14-2004, 07:41 PM   #1
EdoardoC
Member
 
Registered: Mar 2004
Distribution: Mepis or Ubuntu
Posts: 46

Rep: Reputation: 15
encrypted virtual filesystem


Hi

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

tia,
Edo
 
Old 03-14-2004, 08:05 PM   #2
wapcaplet
Guru
 
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018

Rep: Reputation: 48
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.
 
Old 03-15-2004, 06:04 PM   #3
EdoardoC
Member
 
Registered: Mar 2004
Distribution: Mepis or Ubuntu
Posts: 46

Original Poster
Rep: Reputation: 15
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 ?
 
Old 03-15-2004, 06:37 PM   #4
SciYro
Senior Member
 
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038

Rep: Reputation: 51
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

http://www.jetico.com/
 
Old 03-16-2004, 03:12 PM   #5
shedir
Member
 
Registered: Mar 2004
Location: Dresden, Germany
Distribution: Gentoo
Posts: 31

Rep: Reputation: 15
Hi

> 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.
 
Old 04-19-2004, 09:42 AM   #6
ChrisD
LQ Newbie
 
Registered: Apr 2004
Posts: 1

Rep: Reputation: 0
EdoardoC : Do a 'modprobe cryptoloop' as root, you should be fine after that. I had the same problem after a clean install of 10.
 
Old 04-19-2004, 10:16 AM   #7
EdoardoC
Member
 
Registered: Mar 2004
Distribution: Mepis or Ubuntu
Posts: 46

Original Poster
Rep: Reputation: 15
thanks Chris, that did the trick !!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting up encrypted filesystem zahoo Linux - Software 2 06-27-2005 01:17 PM
encrypted filesystem done -now what? randomx Linux - Security 1 04-27-2005 06:13 AM
DISCUSSION: Virtual Filesystem: Building a Linux Filesystem from an Ordinary File mchirico LinuxAnswers Discussion 0 10-28-2004 10:35 PM
Encrypted Root Filesystem HOWTO and /dev filesystem tmillard Linux From Scratch 0 10-18-2004 03:58 PM
dm-crypt encrypted filesystem on a CD-ROM qwijibow Linux - General 0 09-14-2004 02:11 PM


All times are GMT -5. The time now is 08:42 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration