diff options
author | Franck Cuny <franck@fcuny.net> | 2021-10-03 12:35:36 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2021-10-03 12:35:36 -0700 |
commit | fde2fab6c9794f2b42425eb0f631f5744efd46f9 (patch) | |
tree | 3a035afde0403efd59bfac8414cd57669b788d66 /emacs | |
parent | emacs: load the required module (diff) | |
download | emacs.d-fde2fab6c9794f2b42425eb0f631f5744efd46f9.tar.gz |
emacs: add encrypted authinfo resource file
Use it with the forge package.
Diffstat (limited to 'emacs')
-rw-r--r-- | emacs/custom/fcuny-git.el | 1 | ||||
-rw-r--r-- | emacs/etc/authinfo.gpg | bin | 0 -> 680 bytes |
2 files changed, 1 insertions, 0 deletions
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 --- /dev/null +++ b/emacs/etc/authinfo.gpg Binary files differ |