I previously had TrueCrypt setup to automount my SVN repos on the Subversion server at boot with an automated network script that used a keyfile on a protected share to mount the volume. Now that TrueCrypt is no more, I've since moved on to using encryptfs to create a private encrypted store in my home folder, and have had a positive experience with it so far. My offsite and local backup systems are programmed to just back up the encrypted stores.
Is there a way to have the SVN server's repos to be stored in an encryptfs protected private folder and still run normally, and how would I set it up? I'm OK with having to manually key in the password once at boot, but I'm not sure what is the best approach.
My personal profile has automounting disabled by renaming ~/.encryptfs/auto-mount
to ~/.encryptfs/auto-mount.bkp
, and leaving ~/.encryptfs/auto-unmount
untouched so my personal volume to unmount at logout. Maybe there's a way to have the SVN store automount at login but not auto-unmount? My primary concern is the server being stolen and scraped.
Thank you.