Jafner.net/.sops.md

9 lines
369 B
Markdown
Raw Normal View History

# Set up SOPS and age to encrypt and decrypt secrets in this repo
1. Install [sops](https://github.com/getsops/sops/releases)
2. Install [age](https://github.com/FiloSottile/age)
3. Generate a keypair with age. `mkdir ~/.age; age-keygen -o ~/.age/key`
4. Append the publickey to [.age-pubkeys](.age-pubkeys).
5. Add the encrypt and decrypt scripts to shell profile.