Encryption With Emacs

Of course it would be nice to encrypt/decrypt files from Emacs. EasyPG comes with GNU Emacs since Emacs23 (source file: epa-file.el). Simply add to your init file:

 (require 'epa-file)

Visit *anyfile*.gpg and it will be encrypted when you save the buffer.

If you’re running X and you prefer a non-graphical keyphrase prompt, include in your config:

(setenv "GPG_AGENT_INFO" nil)


EasyPG Home Page.

EmacsWiki EasyPG Entry. Configuration and troubleshooting info.

share this:Email this to someoneTweet about this on TwitterShare on LinkedInShare on Facebook