Your message dated Tue, 18 Aug 2026 18:08:10 +0000
with message-id <[email protected]>
and subject line Bug#1144749: fixed in pinentry 1.3.3-3
has caused the Debian Bug report #1144749,
regarding pinentry-gnome3: pinentry-gnome3 fails when G_MESSAGES_DEBUG=all
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1144749: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1144749
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: pinentry-gnome3
Version: 1.3.3-2
Severity: normal
Tags: patch

As reported upstream on [email protected] in message
id:cafh6oawx7_nvxc1pwdayx-s3tzxgg_bneyspzmg5duhca63...@mail.gmail.com ,
when G_MESSAGES_DEBUG is set to some more verbose value, pinentry-gnome3
chokes by dumping Glib/Gcr messages to stdout, which interferes with the
assuan connectivity.

Kernc has provided a patch on that mailing list, attached here.

From: Kernc <[email protected]>

By default, GLib/Gcr/libsecret outputs debug/info logging messages
to stdout, but we use that as the Assuan channel, and outputting to
it anything but the expected verbs breaks pinentry pipelines
in confusing ways.

It is unknown whether a similar patch is needed for gtk-2
or other flavors via the 'CLEARPASSPHRASE' command,
nor if G_MESSAGES_DEBUG needs unsetting from the environment.

An old user reports Gtk-warnings even with pinentry-qt,
but their issue needs more verification.

https://web.archive.org/web/20260629091849/https://dev.gnupg.org/T4144.html

Care must be placed in who inherits our Assuan fds
and what they do with them.

GnuPG-bug-id: 4144
GnuPG-bug-id: 2243
GnuPG-bug-id: 2397
Signed-off-by: Kernc <[email protected]>
---
 gnome3/pinentry-gnome3.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/gnome3/pinentry-gnome3.c b/gnome3/pinentry-gnome3.c
index 7f21d6f..3692f49 100644
--- a/gnome3/pinentry-gnome3.c
+++ b/gnome3/pinentry-gnome3.c
@@ -518,6 +518,13 @@ main (int argc, char *argv[])
 {
   pinentry_init (PGMNAME);

+/* Prevent logging messages escaping to stdout (our Assuan channel). */
+#if GLIB_CHECK_VERSION (2, 68, 0)
+  g_log_writer_default_set_use_stderr (TRUE);
+#else
+  g_unsetenv ("G_MESSAGES_DEBUG");
+#endif
+
 #ifdef FALLBACK_CURSES
   if (!getenv ("DBUS_SESSION_BUS_ADDRESS"))
     {
-- 
2.47.3
Regards,

        --dkg

-- System Information:
Debian Release: forky/sid
  APT prefers testing-debug
  APT policy: (500, 'testing-debug'), (500, 'testing'), (500, 'oldstable'), 
(200, 'unstable-debug'), (200, 'unstable'), (1, 'experimental-debug'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 7.1.3+deb14-amd64 (SMP w/20 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages pinentry-gnome3 depends on:
ii  gcr              3.41.2-6+b1
ii  libassuan9       3.0.2-2+b2
ii  libc6            2.42-17
ii  libgcr-base-3-1  3.41.2-6+b1
ii  libglib2.0-0t64  2.88.3-2
ii  libgpg-error0    1.61-3
ii  libncursesw6     6.6+20260608-2
ii  libsecret-1-0    0.21.7-2+b1
ii  libtinfo6        6.6+20260608-2

Versions of packages pinentry-gnome3 recommends:
ii  dbus-user-session  1.16.2-5+b1

Versions of packages pinentry-gnome3 suggests:
pn  pinentry-doc  <none>

-- no debconf information

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: pinentry
Source-Version: 1.3.3-3
Done: Daniel Kahn Gillmor <[email protected]>

We believe that the bug you reported is fixed in the latest version of
pinentry, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Daniel Kahn Gillmor <[email protected]> (supplier of updated pinentry 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 18 Aug 2026 13:39:27 -0400
Source: pinentry
Architecture: source
Version: 1.3.3-3
Distribution: unstable
Urgency: medium
Maintainer: Debian GnuPG Maintainers <[email protected]>
Changed-By: Daniel Kahn Gillmor <[email protected]>
Closes: 1144749
Changes:
 pinentry (1.3.3-3) unstable; urgency=medium
 .
   * gnome3: Redirect GLib logging messages to stderr (Closes: #1144749)
   * refresh patches with gbp pq
   * debian/watch: convert to v5
Checksums-Sha1:
 0bce8cdd9f858af97e1f5f78dc71b189c30f3a5a 2702 pinentry_1.3.3-3.dsc
 3892a9bd2545f9ca51ab36fbe08f2a7085f04013 22696 pinentry_1.3.3-3.debian.tar.xz
 d0d43803bcc8401c8e8b4d0a8f59463ef5512b98 23643 pinentry_1.3.3-3_amd64.buildinfo
Checksums-Sha256:
 94bccff4bd66997db0129981356270ed28fb9d6d7d82a7db0ad920fc3009c0df 2702 
pinentry_1.3.3-3.dsc
 aa250d189101f7dc5175ffbc1e4005a6c21834d09962b17506baa7416b81e9d1 22696 
pinentry_1.3.3-3.debian.tar.xz
 e30faebbc46089baa6aaa4b8efb9e22d5739637eb9c5937acbd22287c61ed0e5 23643 
pinentry_1.3.3-3_amd64.buildinfo
Files:
 3d13bad24be01912fc68419be7f7a97c 2702 utils optional pinentry_1.3.3-3.dsc
 bd575026b738ab6f400b2034db51c34d 22696 utils optional 
pinentry_1.3.3-3.debian.tar.xz
 4e3282c302c0514c57ffe2bd6ec00043 23643 utils optional 
pinentry_1.3.3-3_amd64.buildinfo


-----BEGIN PGP SIGNATURE-----

wr0EARYKAG8FgmqEnD8JEHgLhU7ZwrSWRxQAAAAAAB4AIHNhbHRAbm90YXRpb25z
LnNlcXVvaWEtcGdwLm9yZxMUEWHxFu8eBkxlxyif2hXK0V9NN6C3swWeygBF9dd0
FiEEY6wRjlsuXWbIioWneAuFTtnCtJYAAASPAQDpuE4asRD7RJn5BX4bRHT2UCXE
5Hc58K470QEB5Mw+VgD+K3L7f2NV4AVgOQ/mNfdSjtRiLkJEawk8Y84g4Igtwgg=
=wxVW
-----END PGP SIGNATURE-----

Attachment: pgp8bVYCHN4Sq.pgp
Description: PGP signature


--- End Message ---

Reply via email to