From: Noam Postavsky <npostavs@users.sourceforge.net>
To: Rajeev Narang <rajeev.narang@gmail.com>
Cc: 30363@debbugs.gnu.org
Subject: bug#30363: 26.0.91; epa-decrypt-file not using epa-pinentry-mode
Date: Wed, 7 Feb 2018 14:30:06 -0500 [thread overview]
Message-ID: <CAM-tV--etpz1nx-4JbbGngumhPUmuk8obUHXm9O=KeHk_XpyUg@mail.gmail.com> (raw)
In-Reply-To: <87wozqx50t.fsf@hm.sivalik.com>
On Mon, Feb 5, 2018 at 8:48 PM, Rajeev Narang <rajeev.narang@gmail.com> wrote:
>
> (setq epa-pinentry-mode 'loopback)
>
> epa-decrypt-file (:d in dired mode) does not ask for the password in the minibuffer.
>
> in comparison, epa-sign-region does ask for the password in the minibuffer.
Just looking at those 2 functions, I'm guess the following would fix it?
--- i/lisp/epa.el
+++ w/lisp/epa.el
@@ -701,6 +701,7 @@ epa-decrypt-file
#'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)
next prev parent reply other threads:[~2018-02-07 19:30 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-06 1:48 bug#30363: 26.0.91; epa-decrypt-file not using epa-pinentry-mode Rajeev Narang
2018-02-07 19:30 ` Noam Postavsky [this message]
2018-02-07 19:39 ` Rajeev Narang
2018-02-09 0:49 ` Noam Postavsky
2018-04-27 11:32 ` Noam Postavsky
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAM-tV--etpz1nx-4JbbGngumhPUmuk8obUHXm9O=KeHk_XpyUg@mail.gmail.com' \
--to=npostavs@users.sourceforge.net \
--cc=30363@debbugs.gnu.org \
--cc=rajeev.narang@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.