From e390a504356fe2902d5022401cf5178c66ce0fe3 Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Wed, 27 May 2020 00:40:11 +0100 Subject: [PATCH] dot/emacs: Use loopback pinentry if we get a choice. Alas, Emacs 24 doesn't understand this setting. Worse, Emacs and `pinentry-curses' (or the `curses' mode of other pinentries) fight over the terminal in a rather disastrous way. --- dot/emacs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dot/emacs b/dot/emacs index de70388..bd6f731 100644 --- a/dot/emacs +++ b/dot/emacs @@ -594,6 +594,8 @@ (define-key mc-write-mode-map "\C-c/E" 'mc-encrypt-region) (add-hook 'text-mode-hook 'mc-install-write-mode)))) +(setq epa-pinentry-mode 'loopback) + ;;;-------------------------------------------------------------------------- ;;; Other common declarations. -- 2.11.0