From 2f21baae85950e4a4a2996115ec9068c70b5fe23 Mon Sep 17 00:00:00 2001 From: Ravachol Date: Mon, 26 Feb 2024 04:32:06 +0800 Subject: [PATCH] add pinentry --- lisp/init-utils.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lisp/init-utils.el b/lisp/init-utils.el index fe0c9ed8..b4409e1e 100644 --- a/lisp/init-utils.el +++ b/lisp/init-utils.el @@ -112,5 +112,9 @@ BUFFER and ALIST are as for `display-buffer-full-frame'." ;; electric pair mode (add-hook 'prog-mode-hook 'electric-pair-mode) +;; pinentry for GnuPG +(setq epa-pinentry-mode 'loopback) +(pinentry-start) + (provide 'init-utils) ;;; init-utils.el ends here