[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 8157d49060b 6/6: Merge branch 'master' of git.savannah.gnu.org:/s
From: |
Eli Zaretskii |
Subject: |
master 8157d49060b 6/6: Merge branch 'master' of git.savannah.gnu.org:/srv/git/emacs |
Date: |
Sat, 25 Nov 2023 05:58:35 -0500 (EST) |
branch: master
commit 8157d49060b9b55f49fd25ea79c20413d8f97730
Merge: 0de7efe897b e736a1b5a2a
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>
Merge branch 'master' of git.savannah.gnu.org:/srv/git/emacs
---
doc/misc/epa.texi | 3 +++
lisp/epg.el | 7 ++++++-
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/doc/misc/epa.texi b/doc/misc/epa.texi
index 917fd588593..1aeaef8990f 100644
--- a/doc/misc/epa.texi
+++ b/doc/misc/epa.texi
@@ -640,6 +640,9 @@ Customize variable @code{epg-pinentry-mode} to
@code{loopback} in
Emacs.
@end enumerate
+Note that loopback Pinentry does not work with @command{gpgsm},
+therefore EasyPG will ignore this setting for it.
+
There are other options available to use Emacs as Pinentry, you might
come across a Pinentry called @command{pinentry-emacs} or
@command{gpg-agent} option @code{allow-emacs-pinentry}. However,
diff --git a/lisp/epg.el b/lisp/epg.el
index aae9b9444b4..b994c1b9ca2 100644
--- a/lisp/epg.el
+++ b/lisp/epg.el
@@ -595,7 +595,12 @@ callback data (if any)."
(if (epg-context-textmode context) '("--textmode"))
(if (epg-context-output-file context)
(list "--output" (epg-context-output-file context)))
- (if (epg-context-pinentry-mode context)
+ (if (and (epg-context-pinentry-mode context)
+ (not
+ ;; loopback doesn't work with gpgsm
+ (and (eq (epg-context-protocol context) 'CMS)
+ (eq (epg-context-pinentry-mode context)
+ 'loopback))))
(list "--pinentry-mode"
(symbol-name (epg-context-pinentry-mode
context))))
- master updated (e736a1b5a2a -> 8157d49060b), Eli Zaretskii, 2023/11/25
- master d0d9d7f5fa3 4/6: Optionally turn on visual-line-mode + outline support, Eli Zaretskii, 2023/11/25
- master d41a5e4b1ba 3/6: Outline support for shr rendered documents, Eli Zaretskii, 2023/11/25
- master 0de7efe897b 5/6: Don't insert subscript on a newline, Eli Zaretskii, 2023/11/25
- master 8157d49060b 6/6: Merge branch 'master' of git.savannah.gnu.org:/srv/git/emacs,
Eli Zaretskii <=
- master 88bd83d1783 1/6: Make some aspects of shr rendering customizable, Eli Zaretskii, 2023/11/25
- master 42545444055 2/6: Allow displaying images inline, Eli Zaretskii, 2023/11/25