From fde2fab6c9794f2b42425eb0f631f5744efd46f9 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sun, 3 Oct 2021 12:35:36 -0700 Subject: emacs: add encrypted authinfo resource file Use it with the forge package. --- emacs/custom/fcuny-git.el | 1 + 1 file changed, 1 insertion(+) (limited to 'emacs/custom') diff --git a/emacs/custom/fcuny-git.el b/emacs/custom/fcuny-git.el index 9761309..3ca7933 100644 --- a/emacs/custom/fcuny-git.el +++ b/emacs/custom/fcuny-git.el @@ -81,6 +81,7 @@ :after (magit) :custom (forge-database-file (expand-file-name "forge-database-file.sqlite" fcuny/path-emacs-var)) + (auth-sources `(,(expand-file-name "authinfo.gpg" fcuny/path-emacs-etc))) :config (add-to-list 'forge-alist '("git.fcuny.net:222" "git.fcuny.net/api/v1" "git.fcuny.net" forge-gitea-repository))) -- cgit 1.4.1