mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -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
|
;; 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
|
(after! epa
|
||||||
(setq epa-file-encrypt-to (or epa-file-encrypt-to user-mail-address)
|
(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
|
;; With GPG 2.1, this forces gpg-agent to use the Emacs minibuffer to
|
||||||
|
Reference in New Issue
Block a user