[CentOS] Encrypted File Storage

Tue Aug 11 00:45:57 UTC 2009
Matty <matty91 at gmail.com>

On Mon, Aug 10, 2009 at 1:23 PM, Joseph L.
Casale<JCasale at activenetwerx.com> wrote:
> Anyone got any experience/suggestions for a way to store a directory of
> sensitive information on a CentOS box? This directory contains many scripts
> and output files, I need it backed up but not unencrypted and don't want
> to store it in a tar file type archive as when it needs to be accessed and
> have scripts executed/data generated, it needs to be untarred/unencrypted and
> I don't know the ramifications of this wrt recovery once its retarred and deleted.
> I was hoping it could be stored somehow such that it was decrypted on the fly when
> needed by entering a pass/keyphrase before use.
>
> Thus it could be backed up and remain encrypted. Is dm-crypt the simplest option
> here?

I kinda dig the FUSE encryption module:

http://prefetch.net/blog/index.php/2007/05/29/encrypting-data-with-the-fuse-encryption-module/

Easy to set up, and works like a charm.

Hope this helps,
- Ryan
--
http://prefetch.net