My main problem right now is that in gnus.el
i got several mail sources set in a manner like:
(setq mail-sources
'((pop :server "server.org"
:port 995
:user "user@server.org"
:password "pAssWorD")
I don't want to store passwords in a plain text file like that. What i want is:
- Store passwords for Gnus mail sources in a separate file with strict permissions and encrypted using gpg.
- When using Emacs enter passphrase once and have these passwords automatically used when fetching mail.
What is the most idiomatic/efficient way to do that?
I'm also interested in any general ideas about password management in Emacs, be it just storing them somewhere in an encrypted files or having them managed for particular Emacs packages.
Emacs version: 24.0.97