Creating an Encrypted Subversion Repository on Linux
Why?
I have my source code on a server in the cloud. That makes perfect sense – I want to have my code accessible from everywhere, even if the only person accessing the repository is my own self. Access is secured using SSH with PKI – only whoever has the private key can access the system, no passwords allowed.
While I feel pretty secure about access, it bugs me that the source code is not encrypted at rest. Whoever gains access to a copy of the repository (for instance, from a backup) has the code in cleartext. That’s absolutely not good. On the other hand, setting up an encrypted repository is too much of a hassle, and I couldn’t find anything online about how to do it.
Continue reading