summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmin Bandali <bandali@gnu.org>2019-09-23 09:56:58 -0400
committerAmin Bandali <bandali@gnu.org>2019-09-23 09:56:58 -0400
commitb98dbb3d62bdaae2911af751e8ad55af4135b4c6 (patch)
tree8e051e6209d634fb7e72322196a285c9fd656aa6
parent92bbb7aab082f4a6c2aacfcb3995c21466a95835 (diff)
downloadconfigs-b98dbb3d62bdaae2911af751e8ad55af4135b4c6.tar.gz
configs-b98dbb3d62bdaae2911af751e8ad55af4135b4c6.tar.xz
configs-b98dbb3d62bdaae2911af751e8ad55af4135b4c6.zip
emacs: auth-source: set newly introduced authinfo-hidden
https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=87b685f4365f663ef1258cd60616034cd2cc89c9 https://lists.gnu.org/archive/html/emacs-devel/2019-09/msg00497.html
Diffstat (limited to '')
-rw-r--r--.emacs.d/init.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
index 422930e..fb7fa05 100644
--- a/.emacs.d/init.el
+++ b/.emacs.d/init.el
@@ -490,6 +490,11 @@ For disabling the behaviour for certain buffers and/or modes."
:custom
((epg-gpg-program (executable-find "gpg"))))
+(use-feature auth-source
+ :custom
+ (auth-sources '("~/.authinfo.gpg"))
+ (authinfo-hidden (regexp-opt '("password" "client-secret" "token"))))
+
;;; General bindings