ryantm / agenix

age-encrypted secrets for NixOS and Home manager
https://matrix.to/#/#agenix:nixos.org
Creative Commons Zero v1.0 Universal
1.51k stars 117 forks source link

Notes on best practice handling encrypted secrets and public keys #178

Closed onny closed 1 year ago

onny commented 1 year ago

Hey, what is the best practice on handling these secrets? Is it safe to put age files and the public keys into my public git repository?

Best regards Jonas

cole-h commented 1 year ago

As with most questions like this, it really depends on your threat model.

That said, I publish my config, including public key information and the encrypted age files, for all to see: https://github.com/cole-h/nixos-config

onny commented 1 year ago

Good to know, thank you for this assesment!