I am one of those people who function better by writing things down. One day, I realized that most of my notes don’t have to be private, so here they are - my second brain. Be warned that, if you stumble upon something here that doesn’t make sense to you, it isn’t meant to!
Automate SOPS encryption in Git
Note: While the following worked, the entire setup felt fragile. Plus, I realized there was little point in encrypting the source code in my repository, given the repository is hosted locally on my home network where I already have encryption at rest. So, I reverted this stuff after trying it for a few days. Initial setup Ensure the Age private key is available in the right place (i.e. ~/.config/sops/age/keys.txt). Update .gitattributes in the repository to look something like this: ...