[lkml]   [1997]   [Feb]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: linux-kernel-digest V1 #740

>From: Jeremey Barrett <>
>Date: Mon, 10 Feb 1997 00:46:27 -0800 (PST)
>Subject: Encrypted "virtual" disk
>I am interested in writing a cryptographic "virtual" disk or filesystem.
>My goals/ideas are the following:

Correct me if I am just being blind, but how do your desired features differ
from using the loop device w/ the currently available des or idea patches.
If you would like different encryption, it should be relatively easy to use
the existing hooks in the loop device to do the encryption.

> o The crypto-fs code would require a passphrase upon mounting. It would
> be nice to auto-unmount after a period of time specified by mount.

Instead you use the crypto info upon seting up the loop device. It could
be auto unmounted in user space.

> o When a file is read by something in user-space, the crypto-fs
> maps the request to some part of the file as it exists in the mind
> of the underlying "real" file system, reads the requested portion,
> and then decrypts it.

The loop device doesn't use the filesystem calls. Therefore it requres that
the loop file exist on a physical disk on the system and (I think) that the
file is contigious. So if your system would allow NFS mounted encrypted fs,
that would be really cool.

Evan Jeffrey

 \ /
  Last update: 2005-03-22 13:38    [W:0.024 / U:2.952 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site