[CentOS] Encrypted File Storage

Mon Aug 10 17:23:48 UTC 2009
Joseph L. Casale <JCasale at activenetwerx.com>

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?

None of our servers have a gui.

Thanks!
jlc