Git-dot - Git for dotfiles, with crypto!

I put my dotfiles in Git I sometimes encrypt them too

It gives me an enormous sense of well-being

And then I'm happy for the rest of the day safe in the knowledge

There will always be a bit of Gitolite devoted to it Parklife - Blur (well, kind-of)

I spent the last few days perfecting this script which I called git-dot to manage my dotfiles. It uses git-crypt to encrypt secret stuff without impeding access to other things.

It's as simple as

$ git dot init
$ git dot encrypt ~/.ssh/id_rsa
$ git dot add ~/.ssh/id_rsa
$ git dot commit -m "ssh private key"

yadda yadda yadda...

git-crypt encrypts files using AES-256 in CTR mode with a synthetic IV derived from the SHA-1 HMAC of the file. I choose not to publish my dotfiles repo (it isn't that interesting anyway) but, instead, keep it on my own Gitolite server from where I can keep my various Linux boxes, real and virtual, in sync.

I've stuck up a microsite and published it on GitHub for your enjoyment...