Re: File Encryption

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Terrapin Station wrote:
> 
> hi all,
> 
>     I was wondering if anybody has come across an open source
> implementation for Linux that does the following:
> 
>     1. Encrypt files based on individual users' keys (similar to that of
> TCFS)
> 
>     2. There is no need to mount with a particular file system like TCFS
> and CryptFS does. The user is able to create files ANYWHERE (where
> permission is allowed) and the file will be encrypted with his/her key.
> 
>     3. The operation of encryption and decryption should be transparent
> to the user. User should be able to work with the file(s) with any
> application.
> 

You could code up such a thing with podfuk a.k.a. userfs and gnupg, I
guess.

>     4. Any temporary files , like ".filename.swp' created by "vi" should
> also be encrypted.
> 
A loopback encrypted /tmp would be the only thing I can think of.

>     Well, maybe that was just a wish list, but if there is one, that
> will be very nice indeed. Otherwise, I was thinking about writing one.
> In that case, where do I start? Perhaps by working on the existing VFS?
> Any suggestions?
> 
There is said userfs. It can be used like the following, IIRC:

user$ ls /path/to/file.tar.gz#.
file1	file2	file3

You shoud be able to extend that to encryption via gnupg.

Marc

-- 
Marc Mutz <Marc@xxxxxxxx>     http://EncryptionHOWTO.sourceforge.net/
University of Bielefeld, Dep. of Mathematics / Dep. of Physics

PGP-keyID's:   0xd46ce9ab (RSA), 0x7ae55b9e (DSS/DH)


Linux-crypto:  cryptography in and on the Linux system
Archive:       http://mail.nl.linux.org/linux-crypto/


[Index of Archives]     [Kernel]     [Linux Crypto]     [Gnu Crypto]     [Gnu Classpath]     [Netfilter]     [Bugtraq]
  Powered by Linux