From 217202c084232f36d4fa0fead0f3aca21396d074 Mon Sep 17 00:00:00 2001 From: Noam Postavsky Date: Fri, 27 Apr 2018 07:27:59 -0400 Subject: [PATCH] * lisp/epa.el (epa-decrypt-file): Apply epa-pinentry-mode (Bug#30363). --- lisp/epa.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/epa.el b/lisp/epa.el index 5c237bca9b4..70f27e272fc 100644 --- a/lisp/epa.el +++ b/lisp/epa.el @@ -701,6 +701,7 @@ If you do not specify PLAIN-FILE, this functions prompts for the value to use." #'epa-progress-callback-function (format "Decrypting %s..." (file-name-nondirectory decrypt-file)))) + (setf (epg-context-pinentry-mode context) epa-pinentry-mode) (message "Decrypting %s..." (file-name-nondirectory decrypt-file)) (condition-case error (epg-decrypt-file context decrypt-file plain-file) -- 2.11.4.GIT