Skip to content

Instantly share code, notes, and snippets.

@ricardoanguiano
Created December 8, 2014 02:14
Show Gist options
  • Save ricardoanguiano/b4268fb208961f3b4c9d to your computer and use it in GitHub Desktop.
Save ricardoanguiano/b4268fb208961f3b4c9d to your computer and use it in GitHub Desktop.
Emacs settings for symmetrically encrypted files
;; ------------------------------------------------------------------------
;; gpg encrypted files
;; visit anything.gpg to automatically encrypt and decrypt.
(require 'epa-file)
(epa-file-enable)
(setq epg-gpg-program "c:/Program Files (x86)/GNU/GnuPG/gpg.exe")
(setq epa-file-cache-passphrase-for-symmetric-encryption t)
(setq epa-textmode t)
(setq epa-armor t)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment