Paul Johnson wrote:
> A plus for truecrypt is that it is available for Windows and Mac, so
> if people you work with are stuck with shitty operating systems
> like that, you can mail them encrypted "file" things and they can
> open, if you tell them passphrase or give a key.
The operating system cross-compatibility feature is intriguing.
On my work computer (a laptop), where I have lots of things that would
be very bad if they were readable if my laptop is ever stolen, I use
encfs. It has pros and cons, so I don't recommend it for every use, but
here's what I know and how I use it...
encfs will encrypt a directory of files (recursively) and replace each
file name and its contents with encrypted ascii-armored gibberish. The
downside for security is that you can still see how many files are in a
given directory, and their sizes and linux file system attributes (chmod
stuff), but otherwise everything is pretty opaque.
For me, the advantage to this security compromise is that backup
software doesn't see a big glob of encrypted data, it sees individual
files. So something like rsnapshot (which uses rsync), can detect which
files have been modified, even though they're encrypted, and just back
up those, instead of having to do the whole directory or, even worse,
the whole disk volume. It just blindly copies the new encrypted files
to my backup drive where I can easily decrypt them if I ever need to
restore anything.
What do I put in there?
1) My code. Code often includes sensitive things like passwords to
databases and such.
2) My other work-related files, since many projects begin with a data
import or something, and I might have raw data of a sensitive nature
lying around.
3) tomcat. Yes, I run tomcat out of an encrypted file system. Yes,
it's slower than it would be otherwise, but not irritatingly so. Java
is irritatingly slow anyway, in my opinion, it's not encfs's fault. :)
Anyway, all the sensitive stuff that was in my code is also here, so
this gets encrypted too.
4) My ssh private key. I have a no-password key-based auth set up to
several systems, but I stash my private key in an encrypted folder.
This saves me from the trouble of setting up some kind of agent program
to handle the passphrase for me.
5) My subversion auth info. On linux, subversion credentials are saved
on the hard drive in the clear (if you save them at all)[*], so I told
my svn client to put them in a directory within my encrypted area. Not
much point in encrypting my code if anyone can just check out fresh
copies of it from version control for free.
encfs doesn't have any nice gui help, but it's a very simple system to
work with, so there isn't much to it.
That's my two cents on the matter.
- Aaron
[*] One big advantage to running svn on MacOS or Windows - they're
tightly integrated enough to have a native password encryption system
that the whole operating system is built to use, so svn just uses to
that to secure the authN data. Linux has lots of hashing utilities that
get used in passwd and other places, but they're one-way and therefore
not helpful for this situation.
--
Aaron Brown :: aa...@thebrownproject.com :: www.thebrownproject.com