GNU bug report logs - #65144
29.1.50; epg-wait-for-status hangs when encrypting files

Previous Next

Package: emacs;

Reported by: Abdul-Lateef Haji-Ali <a.hajiali <at> hw.ac.uk>

Date: Tue, 8 Aug 2023 10:06:01 UTC

Severity: normal

Tags: notabug

Found in version 29.1.50

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #10 received at control <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Abdul-Lateef Haji-Ali <a.hajiali <at> hw.ac.uk>
Cc: 65144 <at> debbugs.gnu.org
Subject: Re: bug#65144: 29.1.50;
 epg-wait-for-status hangs when encrypting files
Date: Tue, 08 Aug 2023 15:20:35 +0300
tags 65144 notabug
thanks

> Date: Tue, 08 Aug 2023 10:50:49 +0100
> From:  Abdul-Lateef Haji-Ali via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
> 
> 
> Might be related to bug#17337.
> 
> I have an issue where saving gpg files hangs `emacs -Q` indefinitely.
> After some digging, I found out that it hangs in the while loop in
> `epg-wait-for-status`. The process buffer shows the output
> 
> [GNUPG:] KEY_CONSIDERED XXX 0
> 
> and nothing else is added and the process seems to not terminate.
> Decryption files in emacs works as expected as well as encrypting them when using gpg directly.
> 
> My GPG version is
> 
> > gpg2 --version
> gpg (GnuPG) 2.4.3

From etc/PROBLEMS:

  *** 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).

IOW, this is not an Emacs bug, this is a misfeature in GnuPG 2.4.x,
hopefully to be fixed soon on their side.




This bug report was last modified 1 year and 266 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.