Hi,

This issue is well-known problem gpg >= 2.4.1, 
https://git.savannah.gnu.org/cgit/emacs.git/commit/?h=emacs-29&id=1b9812af80b6ceec8418636dbf84c0fbcd3ab694

-- quote --
*** Saving, via EasyPG, a file encrypted with GnuPG hangs

This is known to happen with GnuPG v2.4.1.  The only known workaround
is to downgrade to a version of GnuPG older than 2.4.1 (or, in the
future, upgrade to a newer version which solves the problem, when such
a fixed version becomes available)
-- quote --

And https://github.com/emacs-mirror/emacs/blob/master/etc/PROBLEMS, 

-- quote --
*** Saving a file encrypted with GnuPG via EasyPG hangs.

This is known to happen with GnuPG v2.4.1.  The only known workaround
is to downgrade to a version of GnuPG older than 2.4.1, or upgrade to
version 2.4.4 and newer, which reportedly solves the problem.  Note
that GnuPG v2.2.42 and later also has this problem, so you should also
avoid those later 2.2.4x versions; v2.2.41 is reported to work fine.
-- quote --

Unfortunately, Debian's gnupg was upgrade 2.2.43 on May, 13.
As a result, it is no longer possible to save files using easypg.

Current workarounds are
1: Upgrade gnupg to >= 2.4.4. For example, use experimental packages (the 
version of these packages is 2.4.5).
2: Downgrade to gnupg <= 2.2.40 and keep it.
3: If you do not use symmetric ciphers, apply the epg.el workaround patch, see 
https://dev.gnupg.org/T6481.

BTW, I have sent a bug report requesting an upgrade to gnupg >= 2.4.4.

Best wishes,
Youhei

On Tue, 21 May 2024 02:07:28 +0900 Youhei SASAKI <uwab...@gfd-dennou.org> wrote:
> JUST FYI.
> 
> This issue was already fixed in GnuPG upstream:   
> https://dev.gnupg.org/T6481, related: 
> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=63256
> 
> Excuse me, I don't have any workaround.

--
Youhei SASAKI <uwab...@gfd-dennou.org>
              <uwab...@debian.or.jp>
GPG fingerprint:
  4096/RSA: 66A4 EA70 4FE2 4055 8D6A C2E6 9394 F354 891D 7E07

Reply via email to