X-Loop: help-debbugs@HIDDEN
Subject: bug#75840: 31.0.50; epg
Resent-From: Richard Stallman <rms@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 25 Jan 2025 20:37:02 +0000
Resent-Message-ID: <handler.75840.B.17378373859981 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 75840
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: 75840 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Reply-To: rms@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.17378373859981
(code B ref -1); Sat, 25 Jan 2025 20:37:02 +0000
Received: (at submit) by debbugs.gnu.org; 25 Jan 2025 20:36:25 +0000
Received: from localhost ([127.0.0.1]:52837 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1tbmtF-0002au-AJ
for submit <at> debbugs.gnu.org; Sat, 25 Jan 2025 15:36:25 -0500
Received: from lists.gnu.org ([2001:470:142::17]:34320)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <rms@HIDDEN>) id 1tbmtC-0002ae-Nh
for submit <at> debbugs.gnu.org; Sat, 25 Jan 2025 15:36:24 -0500
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 <rms@HIDDEN>) id 1tbmt5-0000mq-VI
for bug-gnu-emacs@HIDDEN; Sat, 25 Jan 2025 15:36:16 -0500
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 <rms@HIDDEN>) id 1tbmt2-00011Y-Eq
for bug-gnu-emacs@HIDDEN; Sat, 25 Jan 2025 15:36:15 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
s=fencepost-gnu-org; h=Date:Subject:To:From:mime-version:in-reply-to:
references; bh=h/hGc7R/S4V6y+5JMbdYyabd7E+Gqff37pV+OTSdNng=; b=lrljt7N6xwMZPU
B7eGx4+pMJadwPWdzhnZCCgNnbqJwjQeIJNzcHLKMdAvj3S5yDdZHUKmnxwdH0W4sVMShDD6DfDIq
tQZSR2TBAmHG72A+tSoizMzZs7rzGakV3TRQaEgUgT92k92nrfjGfbEbdS1P6UgXiw3qFzzmZETtr
vazf2iATraLIO6Fv04i3VVYqUUEjeAN/wIBe7zHdT4lP7MCs0JloQIACtBldvp4F8C2Q/36DIxtTZ
KY+7W96wLdTWWPBnnbtowXVtMeWghI/USaAV4FdSDCRvfhc4DA/ysfJiGlZ1TT2Rg35WVl/EWcofz
c+ZxsWh2XzScJfYSeKxw==;
Received: from rms by fencepost.gnu.org with local (Exim 4.90_1)
(envelope-from <rms@HIDDEN>)
id 1tbmsw-0003kt-9E; Sat, 25 Jan 2025 15:36:07 -0500
Content-Type: text/plain; charset=Utf-8
From: Richard Stallman <rms@HIDDEN>
Message-Id: <E1tbmsw-0003kt-9E@HIDDEN>
Date: Sat, 25 Jan 2025 15:36:06 -0500
X-Spam-Score: -0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)
I ran an Emacs command that invokes gpg, and it hung.
It hung long enough that I concluded somehing was wrong.,
and ytuped C-g. I tried again and got similar resilt.
I had no idea why encryption could do this.
Eentually I tried running gpg from a shell,.
It thought for a long time and then ouput stuff
about a trustdb check. Since then gpg does not hang any more.
I surmise that there was nothing actually broken, only
the trustdb check took a long time.
I suggest changing Emacs to display `GPG is checking trustdb...'
around that, so users won't get alarmed.
I expect this would be easly for people who have worked
a lot on epa and or epg. It would be useful to add
comments that explain in one place the way Emacs handles
communication with the unferior GPG, fo both output and input.
With that centralized eplanation, others would be able to
do this too.
In GNU Emacs 31.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version
2.24.33, cairo version 1.16.0) of 2024-08-01 built on freetop
Repository revision: a2c439db687774f7b57959c39560993579c5d1bd
Repository branch: master
System Description: Trisquel GNU/Linux Aramo (11.0)
Configured using:
'configure 'CFLAGS=-O0 -g' --with-gnutls=ifavailable'
Configured features:
CAIRO DBUS FREETYPE GIF GLIB GPM GSETTINGS HARFBUZZ JPEG LIBOTF
LIBSELINUX LIBXML2 M17N_FLT MODULES NOTIFY INOTIFY PDUMPER PNG RSVG
SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE XIM XINPUT2
XPM GTK2 ZLIB
--
Dr Richard Stallman (https://stallman.org)
Chief GNUisance of the GNU Project (https://gnu.org)
Founder, Free Software Foundation (https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: rms@HIDDEN Subject: bug#75840: Acknowledgement (31.0.50; epg) Message-ID: <handler.75840.B.17378373859981.ack <at> debbugs.gnu.org> References: <E1tbmsw-0003kt-9E@HIDDEN> X-Gnu-PR-Message: ack 75840 X-Gnu-PR-Package: emacs Reply-To: 75840 <at> debbugs.gnu.org Date: Sat, 25 Jan 2025 20:37:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-gnu-emacs@HIDDEN If you wish to submit further information on this problem, please send it to 75840 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 75840: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D75840 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN
Subject: bug#75840: 31.0.50; epg
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 26 Jan 2025 12:23:01 +0000
Resent-Message-ID: <handler.75840.B75840.173789414617946 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 75840
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: rms@HIDDEN
Cc: 75840 <at> debbugs.gnu.org
Received: via spool by 75840-submit <at> debbugs.gnu.org id=B75840.173789414617946
(code B ref 75840); Sun, 26 Jan 2025 12:23:01 +0000
Received: (at 75840) by debbugs.gnu.org; 26 Jan 2025 12:22:26 +0000
Received: from localhost ([127.0.0.1]:55045 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1tc1ek-0004fO-7X
for submit <at> debbugs.gnu.org; Sun, 26 Jan 2025 07:22:26 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:59948)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tc1eh-0004f5-Sn
for 75840 <at> debbugs.gnu.org; Sun, 26 Jan 2025 07:22:24 -0500
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 <eliz@HIDDEN>) id 1tc1ec-0004ZN-Iu
for 75840 <at> debbugs.gnu.org; Sun, 26 Jan 2025 07:22:18 -0500
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=+Selk/QVGeWCM+bpIunwbPk1bxD+1uFVTe3Q/lYmm7o=; b=eGV8Z9Qu2Nbz
MbFgoqZ3F3rwzecsCIgonYp98pqPPJ1KIaUyDOobHzpJ+6iFmRmE+4SoYlpfTMAG/rhEWihHMZJA+
/JHRNfd46jwTBwT1fSknZjsEMZ0y9YoAsCTljIexbtd3JcA3oqf6FQ1N4+mYYyHjrz7tFBx2/IYAy
YLgoIlFd/sVFrN5Ooj+qd8cG01B0SlwOUAbvLwRtd+JFpdb42+lp3olXx8gjgIifGaOTCeSnTSk3q
PVEqg7T9fFgYzXlvnNZZ2gsadZluMjQpOiQV544Jt98dCuwjTHJ/TuIxPereXnajhTaBbP7KdHr0G
ePpuZe4k4A6w/alwtAccag==;
Date: Sun, 26 Jan 2025 14:22:09 +0200
Message-Id: <86a5bdsr2m.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <E1tbmsw-0003kt-9E@HIDDEN> (message from Richard
Stallman on Sat, 25 Jan 2025 15:36:06 -0500)
References: <E1tbmsw-0003kt-9E@HIDDEN>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)
> From: Richard Stallman <rms@HIDDEN>
> Date: Sat, 25 Jan 2025 15:36:06 -0500
>
>
> I ran an Emacs command that invokes gpg, and it hung.
> It hung long enough that I concluded somehing was wrong.,
> and ytuped C-g. I tried again and got similar resilt.
> I had no idea why encryption could do this.
>
> Eentually I tried running gpg from a shell,.
> It thought for a long time and then ouput stuff
> about a trustdb check. Since then gpg does not hang any more.
> I surmise that there was nothing actually broken, only
> the trustdb check took a long time.
>
> I suggest changing Emacs to display `GPG is checking trustdb...'
> around that, so users won't get alarmed.
Please tell which command you invoked. If you happen to know which
function checks the trustdb and hung, that would be even more helpful.
I almost never use epg and am not familiar with its code, and I don't
think we have epg experts on board to ask them to look into this. So
I need every possible help from you to find the place where such a
message would be useful.
> I expect this would be easly for people who have worked
> a lot on epa and or epg. It would be useful to add
> comments that explain in one place the way Emacs handles
> communication with the unferior GPG, fo both output and input.
> With that centralized eplanation, others would be able to
> do this too.
I agree, but I'm not aware of anyone around who knows enough about epg
to produce such an explanation. The code is quite convoluted and
studying it is not something I can afford, sorry. Patches are
welcome, of course.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.