Heres the closest I've gotten: I installed gitolite in the /Private
folder using ecryptfs-utils
(sudo apt-get install ecryptfs-utils
adduser git
ecryptfs-setup-private
then the rest was configuring gitolite using a root install).
It worked just fine as long as someone was logged in as the user git
using a password (su git
using root does not work). Since the private folder activates through logging in with a password and gitolite uses RSA keys (required) the private folder is hidden thus error occurs.
Is there a way I can log into my server after a reboot, type in the password and have the git user private folder available until next time the machine restarts?
Or maybe theres an easy way to encrypt a folder for git repositories?
su - git
work? Also, what is the point of encrypting the FS if you want to have it always available if the machine is on? Is it strictly to protect against offline attacks?su - git
didnt solve it unfortunately.