Demo of using git-crypt to protect secrets in a repo
Steps:
- Run
git-crypt init
- Create
.gitattributes
file to specify which files should be auto-encryptedsecretfile filter=git-crypt diff=git-crypt *.key filter=git-crypt diff=git-crypt secretdir/** filter=git-crypt diff=git-crypt
- Add your GPG key:
git-crypt add-gpg-user BB89B185D63A1DD5