Enforce encrypted authinfo & store in doom-etc-dir
Plaintext authinfo should not be the default.
This commit is contained in:
parent
48ee4ff71e
commit
1938a0d253
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue