Jafner.net/.sops.md
Joey Hafner 9ca38bd52c
#2 Replace Docker secrets with encrypted secrets.env file
Add encrypt and decrypt scripts
Add pubkeys file with desktop and fighter pubkeys
2024-08-13 23:34:15 -07:00

9 lines
369 B
Markdown

# 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.