Re: File encryption



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 01/29/07 04:02, Dan H. wrote:
Mark Crean wrote:
If wonder if anyone's got experience or advice to share about a good way
of using file encryption on Debian Etch? There seem to be a lot of
different methods, but which one might suit the following:

I only want to encrypt a single folder with personal stuff in it.

To encrypt:

tar -cvf - directory | gpg -c > [encrypted_file] && rm -rf directory

To decrypt:

gpg -d [encrypted_file] | tar -xf -

But then that leaves clear versions of the files every time you need
to access them.

An encrypted loopback devices is transparent, and, thus, easy to
use. (Of course, then you've got to remember to lock your screen
every time you step away from your desk...)

Before doing this, give it a spin with a test directory because I've
just typed this in without trying and testing.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFFvf3nS9HxQb37XmcRAnhNAJ9KS5enZETmi86XdXHmHh+/JEt1qgCfSRQ3
Sxr9V+kclqcoc5PDdqFwmnI=
=X7lJ
-----END PGP SIGNATURE-----


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx