From: Eli Zaretskii <eliz@gnu.org>
To: Ulrich Mueller <ulm@gentoo.org>
Cc: 67012@debbugs.gnu.org
Subject: bug#67012: 29.1; epa-sign-file pinentry loopback mode does not work with S/MIME
Date: Thu, 09 Nov 2023 13:21:32 +0200 [thread overview]
Message-ID: <83v8abyxxf.fsf@gnu.org> (raw)
In-Reply-To: <ur0kzp8db_-_@gentoo.org> (message from Ulrich Mueller on Thu, 09 Nov 2023 10:46:08 +0100)
> From: Ulrich Mueller <ulm@gentoo.org>
> Date: Thu, 09 Nov 2023 10:46:08 +0100
>
> Investigating a little further, I see that gpgsm is invoked like this:
>
> /usr/bin/gpgsm --no-tty --status-fd 1 --yes --output hello.txt.p7m --pinentry-mode loopback --sign -u XXXXXXXXXXXXXXXX -- hello.txt
>
> I believe that the --passphrase-fd option is missing there.
>
> Trying from the command line, the following works:
>
> $ /usr/bin/gpgsm --no-tty --status-fd 1 --yes --output hello.txt.p7m --pinentry-mode loopback --passphrase-fd 0 --sign -u XXXXXXXXXXXXXXXX -- hello.txt
>
> It expects a passphrase from stdin (without a prompt), and after
> entering that, signing will succeed.
>
> Then again, when I hack function epg--start to add "--passphrase-fd" "0"
> to args, the error no longer occurs, but now gpgsm hangs (waiting for
> input)? Also Emacs doesn't prompt for a passphrase.
Isn't this one more manifestation of the GnuPG 2.4.1? See the entry
in etc/PROBLEMS whose heading is "Saving a file encrypted with GnuPG
via EasyPG hangs".
IOW, if you downgrade to an older version of GnuPG, do both problems
go away?
Thanks.
next prev parent reply other threads:[~2023-11-09 11:21 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-09 6:56 bug#67012: 29.1; epa-sign-file pinentry loopback mode does not work with S/MIME Ulrich Mueller
[not found] ` <handler.67012.B.169951307615474.ack@debbugs.gnu.org>
2023-11-09 9:46 ` Ulrich Mueller
2023-11-09 11:21 ` Eli Zaretskii [this message]
2023-11-09 11:43 ` Ulrich Mueller
2023-11-15 14:02 ` Eli Zaretskii
2023-11-15 15:07 ` Michael Albinus
2023-11-15 15:32 ` Michael Albinus
2023-11-15 16:48 ` Eli Zaretskii
2023-11-15 17:13 ` Michael Albinus
2023-11-16 9:54 ` Ulrich Mueller
2023-11-17 11:40 ` Ulrich Mueller
2023-11-19 5:43 ` Eli Zaretskii
2023-11-19 11:13 ` Ulrich Mueller
2023-11-25 9:53 ` Eli Zaretskii
2023-11-25 11:16 ` Ulrich Mueller
2023-11-25 11:40 ` Michael Albinus
2023-11-25 12:17 ` Ulrich Mueller
2023-11-25 14:59 ` Ulrich Mueller
2023-11-25 15:44 ` Michael Albinus
2023-11-25 16:32 ` Ulrich Mueller
2023-11-25 12:27 ` Eli Zaretskii
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=83v8abyxxf.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=67012@debbugs.gnu.org \
--cc=ulm@gentoo.org \
/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.