From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#65144: 29.1.50; epg-wait-for-status hangs when encrypting files Date: Tue, 08 Aug 2023 15:20:35 +0300 Message-ID: <831qgdohd8.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31935"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 65144@debbugs.gnu.org To: Abdul-Lateef Haji-Ali Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Aug 08 14:21:25 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qTLiH-00087R-1J for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 08 Aug 2023 14:21:25 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qTLhv-0007yt-L2; Tue, 08 Aug 2023 08:21:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qTLhu-0007yi-Oo for bug-gnu-emacs@gnu.org; Tue, 08 Aug 2023 08:21:02 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qTLhu-0007MD-Gl for bug-gnu-emacs@gnu.org; Tue, 08 Aug 2023 08:21:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qTLhu-00048V-3f for bug-gnu-emacs@gnu.org; Tue, 08 Aug 2023 08:21:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 08 Aug 2023 12:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65144 X-GNU-PR-Package: emacs Original-Received: via spool by 65144-submit@debbugs.gnu.org id=B65144.169149722915831 (code B ref 65144); Tue, 08 Aug 2023 12:21:02 +0000 Original-Received: (at 65144) by debbugs.gnu.org; 8 Aug 2023 12:20:29 +0000 Original-Received: from localhost ([127.0.0.1]:35409 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qTLhN-00047F-CO for submit@debbugs.gnu.org; Tue, 08 Aug 2023 08:20:29 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36942) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qTLhK-00046u-TE; Tue, 08 Aug 2023 08:20:27 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qTLhF-00079L-8b; Tue, 08 Aug 2023 08:20:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=J3IAiiPRRQMCH40YrVLwdAU43aRbtoNinsfkhvJ4UHU=; b=PuT8Hvc3LbEu /f2qpN+CoTuOeV9JrUgNT5afgIZxLjOqJIODTpe0qpIMpQzSJhOzV2DanrcxhYT2tvoJTF03cvSIp YV9VxS1wvnPpsp38csyFVNIs+jdT07nn/8AdTT8jZgGmapkuMF6heVmDLimYs34k3sg+j/loeAbvZ Y+R53kGTs1YjHQ9A24eS96qLpIZt/CBpUuWWd61gFYgFaQbFe+/q1wqo+qnXqL1387yLhlY4YW9cN CkTiHT7kR7fOIMunUgslRQ3d5oHO+8LPKVCp3f8qr8Y6Anq0YC1Xj+cwO/DSzLLKaaOYNC8aQtv0Z 6s4qbz9xy74Iw7gTh6FM+A==; In-Reply-To: (bug-gnu-emacs@gnu.org) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:266942 Archived-At: 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" > > > 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.