Skip to content

Instantly share code, notes, and snippets.

@don9z
Created May 29, 2012 07:15
Show Gist options
  • Save don9z/2823076 to your computer and use it in GitHub Desktop.
Save don9z/2823076 to your computer and use it in GitHub Desktop.
Use EasyPG to encrypt files in Emacs
;;------------------------------------------------------------------------;;
;; EasyPG
;; Cache passphrase for symmetirc encryption,
;; it remember your passphrase util exit emacs, kinda not safe
;; (setq epa-file-cache-passphrase-for-symmetric-encryption t)
;; Enable autosave, I always disable autosave
;; (setq epa-file-inhibit-auto-save nil)
;;------------------------------------------------------------------------;;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment