From b98dbb3d62bdaae2911af751e8ad55af4135b4c6 Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Mon, 23 Sep 2019 09:56:58 -0400 Subject: 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 --- .emacs.d/init.el | 5 +++++ 1 file changed, 5 insertions(+) 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 -- cgit v1.2.3-60-g2f50