[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Signing a message with S/MIME in Gnus?

From: GH
Subject: Re: Signing a message with S/MIME in Gnus?
Date: Thu, 03 Nov 2022 18:52:40 +0100

Angel de Vicente <> writes:

> It is very weird, maybe a bug, because I have set epg-pinentry-mode to
> loopback, which is supposed to use the Emacs minibuffer to ask for the
> passphrase of private keys. This works perfect for PGP but it throws
> an error for SMIME "Signing failed (unknown reason)". [If I set
> epg-pinentry-mode to 'nil, then I am asked for the passphrase by
> gnome-keyring and all is good (but I need to use the mini-buffer,
> since I use this machine mostly remotely].

> I chased the error down to the function "epg-sign-string" in epg.el,
> but my ELisp is very rusty and not making much progress in debugging
> the issue. I guess at some point epg.el is calling pinentry, but don't
> know how to efficiently debug this.

revert changes in epg.el and try it:

In your emacs conf:

(setq epg-pinentry-mode 'loopback)

in ~/.gnupg/gpg.conf

pinentry-mode loopback

in ~/.gnupg/gpg-agent.conf


reply via email to

[Prev in Thread] Current Thread [Next in Thread]