From: Amin Bandali Date: Mon, 23 Sep 2019 13:56:58 +0000 (-0400) Subject: emacs: auth-source: set newly introduced authinfo-hidden X-Git-Url: https://git.shemshak.org/gitweb.cgi/~bandali/configs/commitdiff_plain/b98dbb3d62bdaae2911af751e8ad55af4135b4c6?hp=92bbb7aab082f4a6c2aacfcb3995c21466a95835 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 --- 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