mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Enforce encrypted authinfo & store in doom-etc-dir
Plaintext authinfo should not be the default.
This commit is contained in:
@ -16,6 +16,11 @@
|
||||
;; Config
|
||||
;;
|
||||
|
||||
;; Don't store authinfo in non-encrypted files!
|
||||
(defvar auth-sources
|
||||
(list (expand-file-name "authinfo.gpg" doom-etc-dir)
|
||||
"~/.authinfo.gpg"))
|
||||
|
||||
(after! epa
|
||||
(setq epa-file-encrypt-to (or epa-file-encrypt-to user-mail-address)
|
||||
;; With GPG 2.1, this forces gpg-agent to use the Emacs minibuffer to
|
||||
|
Reference in New Issue
Block a user