Storing secrets in Emacs
*planted: 24/07/2021last tended: 27/11/2021
Best approach seems to be via ~/authinfo.gpg.
Step 1 is using authinfo. It's a separate file for storing credentials that is only on your machine, so any config files you migh check in somewhere don't include them. It's a netrc file.
Step 2 is giving it a gpg extension. Then emacs will automatically encrypt and decrypt it.
- Keeping Secrets in Emacs with GnuPG and Auth Sources - Mastering Emacs
- emacs-fu: keeping your secrets secret
1. Elsewhere
1.1. In my garden
Notes that link to this note (AKA backlinks).