Best solution top keep data secure

Posted by mrwooster on Super User See other posts from Super User or by mrwooster
Published on 2011-02-28T09:59:17Z Indexed on 2011/03/17 0:13 UTC
Read the original article Hit count: 187

What is the simplest and most elegant way of storing a small amount of data in a reasonably secure way?

I am not looking for ridiculous levels of advanced encryption (AES-256 is more than enough) and I am only looking to encrypt a small number of files.

The files I wish to encrypt are mostly comprised of password lists and SSH keys for servers. Unfortunately it is impossible to keep track of ever changing passwords for my servers (and SSH keys) and so need to keep a list of the passwords. Obviously this list needs to be secure, and also portable (I work from multiple locations).

At the moment, I use a 10MB encrypted disk image on my mac (std .dmg AES-256) and just mount it whenever I need access to the data. To my knowledge this is very secure and I am very happy using it. However, the data is not very portable. I would like to be able to access my data from other machines (especially ones running linux), and I am aware that there are quite a few issues trying to mount an encrypted .dmg on linux.

An alternative I have considered is to create a tar archive containing the files and use gpg --symmetric to encrypt it, but this is not a very elegant solution as it requires gpg to be installed on every system.

So, what over solutions exist, and which ones would you consider to be the most elegant?

Ty

© Super User or respective owner

Related posts about encryption

Related posts about disk-encryption