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 + emacs/etc/authinfo.gpg | Bin 0 -> 680 bytes 2 files changed, 1 insertion(+) create mode 100644 emacs/etc/authinfo.gpg (limited to 'emacs') 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))) diff --git a/emacs/etc/authinfo.gpg b/emacs/etc/authinfo.gpg new file mode 100644 index 0000000..117a0b9 Binary files /dev/null and b/emacs/etc/authinfo.gpg differ -- cgit 1.4.1