diff --git a/init.el b/init.el index 1686bfb..67cc0c8 100644 --- a/init.el +++ b/init.el @@ -38,6 +38,7 @@ (require 'init-paredit) ;; version control +(require 'init-gpg) (require 'init-magit) ;; language support diff --git a/lisp/init-gpg.el b/lisp/init-gpg.el new file mode 100644 index 0000000..9e9a42b --- /dev/null +++ b/lisp/init-gpg.el @@ -0,0 +1,12 @@ +;;; init-gpg.el --- GnuPG support -*- lexical-binding: t -*- +;;; Commentary: +;;; Code: + +(use-package pinentry + :ensure t + :config + (setq epa-pinentry-mode 'loopback) + (pinentry-start)) + +(provide 'init-gpg) +;;; init-gpg.el ends here