Keeping Secrets in Emacs with GnuPG and Auth Sources
Storing your secrets in plain text is Bad Idea whether it’s your Vogon Poetry or your e-mail credentials. Depending on your level of paranoia (it’s not paranoia if they really are watching you…) the advice in this article may not be enough; but for most, though, keeping your secrets encrypted on your file system is an easy way of keeping your secrets secret.
Emacs, obviously, can do this for you, and in a variety of ways.
Source: Keeping Secrets in Emacs with GnuPG and Auth Sources, an article by Mickey Petersen.