Page MenuHome GnuPG
Feed Advanced Search

Wed, Apr 29

gniibe closed T8202: Intermittent ssh publickey login failure after upgrade to gnupg 2.5.x as Resolved.
Wed, Apr 29, 3:48 AM · gpgagent, ssh, Bug Report
gniibe moved T6693: agent: Have a thread monitoring parent PID and homedir from QA to Done on the gnupg26 board.
Wed, Apr 29, 3:46 AM · keyboxd, gpgagent, gnupg26
gniibe moved T6692: agent: Clean up check_own_socket to monitor socket takeover from QA to Done on the gnupg26 board.
Wed, Apr 29, 3:46 AM · keyboxd, gnupg26, gpgagent
gniibe moved T6682: agent: agent_kick_the_loop function to unblock the select(2) from QA to Done on the gnupg26 board.
Wed, Apr 29, 3:46 AM · keyboxd, gpgagent, gnupg26
gniibe moved T6681: agent: Clean up main loop and better cache handling of expiration (was: Adding agent_timer API for monitoring something and passphrase cache) from QA to Done on the gnupg26 board.
Wed, Apr 29, 3:46 AM · keyboxd, gpgagent, gnupg26

Thu, Apr 16

werner changed the status of T8078: GpgAgent: trustlist.txt still requires LF on the last line from Open to Testing.
Thu, Apr 16, 3:07 PM · gnupg22, Bug Report, gpgagent, gnupg26
werner moved T8078: GpgAgent: trustlist.txt still requires LF on the last line from Backlog to WIP on the gnupg26 board.

I reworked the reading using our dedicated line reading functions which is used at other places. Extra benefit is that the code now also prints a status line ERROR which gives information on the first faulty line. Thus gpg-connect-agent listtrusted /bye can be sued to quickly check for errors without configuring a log file.

Thu, Apr 16, 3:02 PM · gnupg22, Bug Report, gpgagent, gnupg26

Wed, Apr 15

werner changed the status of T8078: GpgAgent: trustlist.txt still requires LF on the last line from Testing to Open.
Wed, Apr 15, 3:05 PM · gnupg22, Bug Report, gpgagent, gnupg26
werner removed a project from T8078: GpgAgent: trustlist.txt still requires LF on the last line: gnupg24.
Wed, Apr 15, 2:56 PM · gnupg22, Bug Report, gpgagent, gnupg26
werner added a comment to T8078: GpgAgent: trustlist.txt still requires LF on the last line.

gnupg22 received this patch meanwhile: rG7bc969d388086b4f3aeee3c5389b7baf055689d7

Wed, Apr 15, 2:46 PM · gnupg22, Bug Report, gpgagent, gnupg26
werner changed the status of T8078: GpgAgent: trustlist.txt still requires LF on the last line from Open to Testing.
Wed, Apr 15, 2:44 PM · gnupg22, Bug Report, gpgagent, gnupg26

Apr 1 2026

jpalus added a comment to T8202: Intermittent ssh publickey login failure after upgrade to gnupg 2.5.x.

Great spotting! This was it. Quite embarrassing that I've looked at this code so many time yet it didn't cross my mind to double check arguments order.

Apr 1 2026, 1:27 PM · gpgagent, ssh, Bug Report
gniibe triaged T8202: Intermittent ssh publickey login failure after upgrade to gnupg 2.5.x as Normal priority.

@jpalus You are right.

Apr 1 2026, 4:30 AM · gpgagent, ssh, Bug Report
gniibe added a comment to T8202: Intermittent ssh publickey login failure after upgrade to gnupg 2.5.x.

computed by ssh_signature_encoder_rsa, including additional 0, reach:

Apr 1 2026, 4:16 AM · gpgagent, ssh, Bug Report

Mar 31 2026

jpalus added a comment to T8202: Intermittent ssh publickey login failure after upgrade to gnupg 2.5.x.

Note that exactly same data and length computed by ssh_signature_encoder_rsa, including additional 0, reach:
https://github.com/openssh/openssh-portable/blob/V_10_2_P1/sshkey.c#L517-L537

Mar 31 2026, 6:38 PM · gpgagent, ssh, Bug Report
werner assigned T8202: Intermittent ssh publickey login failure after upgrade to gnupg 2.5.x to gniibe.

Let's see whether Niibe-san still remembers the T7882 case.

Mar 31 2026, 3:23 PM · gpgagent, ssh, Bug Report
jpalus added a comment to T8202: Intermittent ssh publickey login failure after upgrade to gnupg 2.5.x.

Added some debug logging and whenever login issue occurs new logic is applied:
https://github.com/gpg/gnupg/blob/bc7c91bee521e4adf3506ca32bf34177b84ce1c5/agent/command-ssh.c#L1482

Mar 31 2026, 1:50 PM · gpgagent, ssh, Bug Report
jpalus added a comment to T8202: Intermittent ssh publickey login failure after upgrade to gnupg 2.5.x.

Looks like indeed related to T7882. After reverting c7e0ec12609b401ea81c4851522d86eb5ec27170 I was able to make 2000 connections without any issue. Bringing the change back and retrying issue appeared within first 300.

Mar 31 2026, 1:21 PM · gpgagent, ssh, Bug Report
jpalus added a comment to T8202: Intermittent ssh publickey login failure after upgrade to gnupg 2.5.x.

I've already tried with verbose which gave no errors. That's why I moved to debug logging. With double verbose I don't see anything wrong either. Excerpt from log for relevant 100 connections among which 1 failed:

$ cat gpg.log | 
    sed 's/.*gpg-agent\[[0-9]*\] //'  | # remove date, time and process id                            
    grep -v 'ssh handler .* \(started\|terminated\)' | # appears to be mostly noise wit hex address
    sort|uniq -c
     80 new connection to /usr/libexec/gnupg2/scdaemon daemon established
     20 new connection to /usr/libexec/gnupg2/scdaemon daemon established (reusing)
    100 received ssh request of length 1
    100 received ssh request of length 208
    100 received ssh request of length 748
    100 sending ssh response of length 1
    100 sending ssh response of length 281
    100 sending ssh response of length 626
    100 ssh request handler for extension (27) ready
    100 ssh request handler for extension (27) started
    100 ssh request handler for request_identities (11) ready
    100 ssh request handler for request_identities (11) started
    100 ssh request handler for sign_request (13) ready
    100 ssh request handler for sign_request (13) started
    100 ssh-agent extension 'session-bind@openssh.com' not supported
    100 ssh-agent extension 'session-bind@openssh.com' received
Mar 31 2026, 12:55 PM · gpgagent, ssh, Bug Report
werner added projects to T8202: Intermittent ssh publickey login failure after upgrade to gnupg 2.5.x: ssh, gpgagent.

You need to get a log form gpg-agent. Put this into ~/.gnupg/gpg-agent/conf

Mar 31 2026, 12:06 PM · gpgagent, ssh, Bug Report

Mar 23 2026

timegrid added a comment to T8078: GpgAgent: trustlist.txt still requires LF on the last line.

But the original patch rG1b4ac98de7db: agent: Accept a trustlist with a missing LF at the end. was not working to allow missing newlines in gpg4win-5.0.0 @ win11?

Mar 23 2026, 9:04 AM · gnupg22, Bug Report, gpgagent, gnupg26

Mar 19 2026

werner added a comment to T8078: GpgAgent: trustlist.txt still requires LF on the last line.

That change is too complex for just getting a proper error message. The original patch covers the most common case.

Mar 19 2026, 2:04 PM · gnupg22, Bug Report, gpgagent, gnupg26
timegrid added projects to T8078: GpgAgent: trustlist.txt still requires LF on the last line: gnupg22, gnupg24.

This should also be fixed in 2.2 and 2.4 (if neccessary)

Mar 19 2026, 12:25 PM · gnupg22, Bug Report, gpgagent, gnupg26
ikloecker updated the task description for T8182: Make OK the default action for the "insert card" prompt..
Mar 19 2026, 9:27 AM · gpgagent, gnupg26, pinentry, Bug Report
gniibe added a comment to T8182: Make OK the default action for the "insert card" prompt..

It seems that pinentry-curses defaults to "OK".
(my branch for GTK-4, same.)

Mar 19 2026, 8:07 AM · gpgagent, gnupg26, pinentry, Bug Report

Mar 18 2026

ikloecker added a comment to T8182: Make OK the default action for the "insert card" prompt..

Cancel (in pinentry-qt) was made default with rP291089ed476d75c71ef1984a7c081d27e357437d. Marc's ChangeLog entry was

  • qt4/main.cpp: (qt_cmd_handler) make Cancel the default button for CONFIRM
Mar 18 2026, 9:00 PM · gpgagent, gnupg26, pinentry, Bug Report
werner triaged T8182: Make OK the default action for the "insert card" prompt. as Normal priority.
Mar 18 2026, 5:32 PM · gpgagent, gnupg26, pinentry, Bug Report

Mar 3 2026

timegrid closed T8052: GnuPG: First listing of secret keys is empty as Resolved.
Mar 3 2026, 1:22 PM · gpd5x (gpd-5.0.2), gpgrt, Bug Report, gpgagent, gnupg26
timegrid moved T8052: GnuPG: First listing of secret keys is empty from Done to gpd-5.0.2 on the gpd5x board.
Mar 3 2026, 1:22 PM · gpd5x (gpd-5.0.2), gpgrt, Bug Report, gpgagent, gnupg26
timegrid moved T8052: GnuPG: First listing of secret keys is empty from Backlog to Done on the gpgrt board.
Mar 3 2026, 1:22 PM · gpd5x (gpd-5.0.2), gpgrt, Bug Report, gpgagent, gnupg26
timegrid moved T8052: GnuPG: First listing of secret keys is empty from WIP to Done on the gnupg26 board.
Mar 3 2026, 1:22 PM · gpd5x (gpd-5.0.2), gpgrt, Bug Report, gpgagent, gnupg26
timegrid moved T8052: GnuPG: First listing of secret keys is empty from QA to Done on the gpd5x board.

Looks good to me on gpg4win-5.0.2-beta2 @ win11:

  • first manual gpg -K and gpgsm -K displays the correct output now
  • the loop ran without a hang for 50 times
Mar 3 2026, 1:20 PM · gpd5x (gpd-5.0.2), gpgrt, Bug Report, gpgagent, gnupg26

Feb 27 2026

gniibe added a comment to T8078: GpgAgent: trustlist.txt still requires LF on the last line.

I found that it's not that simple to accept the case of no newline at the end.
Because we need to handle the edge case where no newline occurs at the maximum buffer length, too.
It's something like the following.

Feb 27 2026, 3:21 AM · gnupg22, Bug Report, gpgagent, gnupg26

Feb 26 2026

ebo moved T8052: GnuPG: First listing of secret keys is empty from WIP to QA on the gpd5x board.
Feb 26 2026, 3:04 PM · gpd5x (gpd-5.0.2), gpgrt, Bug Report, gpgagent, gnupg26
ebo moved T8052: GnuPG: First listing of secret keys is empty from Backlog to WIP on the gnupg26 board.
Feb 26 2026, 8:36 AM · gpd5x (gpd-5.0.2), gpgrt, Bug Report, gpgagent, gnupg26
ebo moved T8052: GnuPG: First listing of secret keys is empty from Backlog to WIP on the gpd5x board.
Feb 26 2026, 8:35 AM · gpd5x (gpd-5.0.2), gpgrt, Bug Report, gpgagent, gnupg26
gniibe changed the status of T8052: GnuPG: First listing of secret keys is empty from Open to Testing.
Feb 26 2026, 12:55 AM · gpd5x (gpd-5.0.2), gpgrt, Bug Report, gpgagent, gnupg26

Feb 19 2026

gniibe triaged T8052: GnuPG: First listing of secret keys is empty as Normal priority.
Feb 19 2026, 5:21 AM · gpd5x (gpd-5.0.2), gpgrt, Bug Report, gpgagent, gnupg26

Feb 4 2026

gniibe claimed T8052: GnuPG: First listing of secret keys is empty.

I found two issues in libgpg-error for spawning functions.

Feb 4 2026, 7:21 AM · gpd5x (gpd-5.0.2), gpgrt, Bug Report, gpgagent, gnupg26

Feb 2 2026

werner triaged T8078: GpgAgent: trustlist.txt still requires LF on the last line as Low priority.

Oh yeah, the mentioned patch is bogus because it assumes that fgets has already set the eof flag while reading the last line. This seems not to be the case.

Feb 2 2026, 3:46 PM · gnupg22, Bug Report, gpgagent, gnupg26
timegrid created T8078: GpgAgent: trustlist.txt still requires LF on the last line.
Feb 2 2026, 3:20 PM · gnupg22, Bug Report, gpgagent, gnupg26

Jan 30 2026

timegrid added a comment to T8052: GnuPG: First listing of secret keys is empty.

I added the gpgsm log output in the description (same error as in the gpg log)

Jan 30 2026, 11:25 AM · gpd5x (gpd-5.0.2), gpgrt, Bug Report, gpgagent, gnupg26
timegrid updated the task description for T8052: GnuPG: First listing of secret keys is empty.
Jan 30 2026, 11:24 AM · gpd5x (gpd-5.0.2), gpgrt, Bug Report, gpgagent, gnupg26

Jan 27 2026

werner closed T8044: gpg-agent stack buffer overflow in pkdecrypt using KEM as Resolved.
Jan 27 2026, 5:12 PM · Security, gnupg26, gpgagent, Bug Report
ebo moved T8044: gpg-agent stack buffer overflow in pkdecrypt using KEM from Backlog to Done on the gnupg26 board.
Jan 27 2026, 2:31 PM · Security, gnupg26, gpgagent, Bug Report

Jan 26 2026

timegrid added a comment to T8052: GnuPG: First listing of secret keys is empty.

To reproduce the hang, a loop will suffice (usually happens within the first 15 times, once it needed 50 runs):

Jan 26 2026, 11:39 AM · gpd5x (gpd-5.0.2), gpgrt, Bug Report, gpgagent, gnupg26

Jan 23 2026

timegrid updated the task description for T8052: GnuPG: First listing of secret keys is empty.
Jan 23 2026, 2:43 PM · gpd5x (gpd-5.0.2), gpgrt, Bug Report, gpgagent, gnupg26
timegrid added a project to T8052: GnuPG: First listing of secret keys is empty: Bug Report.
Jan 23 2026, 2:22 PM · gpd5x (gpd-5.0.2), gpgrt, Bug Report, gpgagent, gnupg26
timegrid created T8052: GnuPG: First listing of secret keys is empty.
Jan 23 2026, 2:14 PM · gpd5x (gpd-5.0.2), gpgrt, Bug Report, gpgagent, gnupg26

Jan 21 2026

werner shifted T8044: gpg-agent stack buffer overflow in pkdecrypt using KEM from the Restricted Space space to the S1 Public space.
Jan 21 2026, 12:23 PM · Security, gnupg26, gpgagent, Bug Report
werner changed the status of T8044: gpg-agent stack buffer overflow in pkdecrypt using KEM from Open to Testing.
Jan 21 2026, 10:20 AM · Security, gnupg26, gpgagent, Bug Report

Jan 20 2026

werner claimed T8044: gpg-agent stack buffer overflow in pkdecrypt using KEM.
Jan 20 2026, 2:44 PM · Security, gnupg26, gpgagent, Bug Report
werner added a comment to T8044: gpg-agent stack buffer overflow in pkdecrypt using KEM.

I have this fix committed to my working directory:

Jan 20 2026, 12:54 PM · Security, gnupg26, gpgagent, Bug Report
werner added a project to T8044: gpg-agent stack buffer overflow in pkdecrypt using KEM: Security.

We have no CVE yet. However, CVE is also a good tag for security bugs,

Jan 20 2026, 12:18 PM · Security, gnupg26, gpgagent, Bug Report
werner renamed T8044: gpg-agent stack buffer overflow in pkdecrypt using KEM from Security (internal) - gpg-agent stack buffer overflow to gpg-agent stack buffer overflow in pkdecrypt using KEM.
Jan 20 2026, 12:10 PM · Security, gnupg26, gpgagent, Bug Report
gniibe added a comment to T8044: gpg-agent stack buffer overflow in pkdecrypt using KEM.

On 2026-01-20, I found the message to security@gnupg.org of:
Message-ID: 4e708880-04ac-45bc-8d16-6b585f2652a1n@aisle.com
in may spam folder. It has a 10MB long attachment. That might be one of reasons to be identified as a spam.

Jan 20 2026, 6:42 AM · Security, gnupg26, gpgagent, Bug Report
gniibe added projects to T8044: gpg-agent stack buffer overflow in pkdecrypt using KEM: gpgagent, gnupg.
Jan 20 2026, 1:52 AM · Security, gnupg26, gpgagent, Bug Report

Jan 13 2026

ebo edited projects for T7799: gpg-agent crashes when using putty for ssh connection, added: gpd5x (gpd-5.0.0); removed gpd5x.
Jan 13 2026, 12:47 PM · gpd5x (gpd-5.0.0), gpgagent, gpg4win

Jan 9 2026

ebo closed T7491: Confusing additional pinentry on creation of new keypair with ADSK configured as Resolved.

This does not happen any more, tested with Gpg4win-5.0.0-beta479

Jan 9 2026, 1:09 PM · gpgagent, gnupg26, gnupg

Jan 5 2026

the13thletter created T8013: gpgconf does not support the --enable-win32-openssh-support option for gpg-agent.
Jan 5 2026, 9:22 PM · Feature Request, ssh, gnupg26, Windows

Nov 19 2025

werner closed T7882: `rsa-sha2` signature values are improperly truncated as Resolved.
Nov 19 2025, 5:42 PM · ssh, gpgagent, Bug Report

Nov 6 2025

gniibe added projects to T7882: `rsa-sha2` signature values are improperly truncated : gpgagent, ssh.
Nov 6 2025, 2:07 AM · ssh, gpgagent, Bug Report

Sep 12 2025

m.eik moved T7799: gpg-agent crashes when using putty for ssh connection from WIP to Done on the gpd5x board.
Sep 12 2025, 10:50 AM · gpd5x (gpd-5.0.0), gpgagent, gpg4win
m.eik added a comment to T7799: gpg-agent crashes when using putty for ssh connection.

fix tested and confirmed with GnuPG 2.5.12 on windows 10

Sep 12 2025, 10:37 AM · gpd5x (gpd-5.0.0), gpgagent, gpg4win

Sep 4 2025

m.eik closed T7799: gpg-agent crashes when using putty for ssh connection as Resolved.
Sep 4 2025, 2:18 PM · gpd5x (gpd-5.0.0), gpgagent, gpg4win
m.eik added a comment to T7799: gpg-agent crashes when using putty for ssh connection.

i've included logfiles for gpg-agent and scdaemon with debug-level 10. the files include

Sep 4 2025, 10:14 AM · gpd5x (gpd-5.0.0), gpgagent, gpg4win

Sep 3 2025

ebo moved T7799: gpg-agent crashes when using putty for ssh connection from Backlog to WIP on the gpd5x board.
Sep 3 2025, 4:35 PM · gpd5x (gpd-5.0.0), gpgagent, gpg4win

Sep 2 2025

werner moved T7491: Confusing additional pinentry on creation of new keypair with ADSK configured from WIP to QA on the gnupg26 board.
Sep 2 2025, 2:57 PM · gpgagent, gnupg26, gnupg
werner changed the status of T7799: gpg-agent crashes when using putty for ssh connection from Open to Testing.
Sep 2 2025, 9:12 AM · gpd5x (gpd-5.0.0), gpgagent, gpg4win
werner triaged T7799: gpg-agent crashes when using putty for ssh connection as Normal priority.

We will do a new gpg4win beta soon.

Sep 2 2025, 9:12 AM · gpd5x (gpd-5.0.0), gpgagent, gpg4win
gniibe added a comment to T7799: gpg-agent crashes when using putty for ssh connection.

@m.eik Could you please enable debug option for gpg-agent and get the log output for the crash?

Sep 2 2025, 6:53 AM · gpd5x (gpd-5.0.0), gpgagent, gpg4win
gniibe claimed T7799: gpg-agent crashes when using putty for ssh connection.
Sep 2 2025, 2:22 AM · gpd5x (gpd-5.0.0), gpgagent, gpg4win

Aug 28 2025

m.eik changed the edit policy for T7799: gpg-agent crashes when using putty for ssh connection.
Aug 28 2025, 11:06 AM · gpd5x (gpd-5.0.0), gpgagent, gpg4win
m.eik created T7799: gpg-agent crashes when using putty for ssh connection.
Aug 28 2025, 10:57 AM · gpd5x (gpd-5.0.0), gpgagent, gpg4win

Aug 27 2025

werner changed the status of T7491: Confusing additional pinentry on creation of new keypair with ADSK configured from Open to Testing.
Aug 27 2025, 4:02 PM · gpgagent, gnupg26, gnupg
werner moved T7491: Confusing additional pinentry on creation of new keypair with ADSK configured from Backlog to WIP on the gnupg26 board.
Aug 27 2025, 3:40 PM · gpgagent, gnupg26, gnupg
werner renamed T7491: Confusing additional pinentry on creation of new keypair with ADSK configured from Kleopatra: Confusing additional pinentry on creation of new keypair with ADSK configured to Confusing additional pinentry on creation of new keypair with ADSK configured .
Aug 27 2025, 3:09 PM · gpgagent, gnupg26, gnupg

Jun 18 2025

werner closed T7014: agent: Enhancement of PKDECRYPT for KEM interface as Resolved.

This was release with 2.5.7.

Jun 18 2025, 9:29 AM · gnupg26, gpgagent, Feature Request

May 27 2025

collinfunk added a comment to T7667: gpg-agent fails to build on Cygwin..

Thanks, that was the only issue building there.

May 27 2025, 6:02 PM · Cygwin, gpgagent, Bug Report
werner closed T7667: gpg-agent fails to build on Cygwin. as Resolved.

Please re-open if you find other Cygwin related build problems.

May 27 2025, 11:59 AM · Cygwin, gpgagent, Bug Report
werner added a comment to T7667: gpg-agent fails to build on Cygwin..

You know that Cygwin is not supported but if that is the only place it should not arm to fix it.

May 27 2025, 11:09 AM · Cygwin, gpgagent, Bug Report
collinfunk added projects to T7667: gpg-agent fails to build on Cygwin.: gpgagent, Cygwin.
May 27 2025, 6:42 AM · Cygwin, gpgagent, Bug Report

May 26 2025

gniibe added a parent task for T7014: agent: Enhancement of PKDECRYPT for KEM interface: T7649: gnupg: Use KEM interface for encryption/decryption.
May 26 2025, 6:33 AM · gnupg26, gpgagent, Feature Request

May 9 2025

gniibe added a comment to T6681: agent: Clean up main loop and better cache handling of expiration (was: Adding agent_timer API for monitoring something and passphrase cache).

(2) Update the documentation of default-cache-ttl zero value disabling caching.

May 9 2025, 10:02 AM · keyboxd, gpgagent, gnupg26
gniibe added a comment to T6681: agent: Clean up main loop and better cache handling of expiration (was: Adding agent_timer API for monitoring something and passphrase cache).

I am going to do:
(1) Recover old behavior with max-cache-ttl = 0
(2) Update the documentation of default-cache-ttl zero value disabling caching.

May 9 2025, 4:37 AM · keyboxd, gpgagent, gnupg26

May 8 2025

werner added a comment to T6681: agent: Clean up main loop and better cache handling of expiration (was: Adding agent_timer API for monitoring something and passphrase cache).

I can't see any documentation that a value of 0 disables the cache. The user might have used some undefined behaviour. For example in the old code we did a housecleaning when we were idle but the new code uses a timer and another thread for flushing the cache. We could open a feature request to entire disable the cache but I bet that we will get a lot of new bug reports because users will then need to enter their passphrase too often for one operation.

May 8 2025, 9:14 AM · keyboxd, gpgagent, gnupg26
gniibe added a comment to T6681: agent: Clean up main loop and better cache handling of expiration (was: Adding agent_timer API for monitoring something and passphrase cache).

It's not my intention. I didn't know the feature of disabling caching by max-cache-ttl to 0.
Well, it's a regression if a user intends so.

May 8 2025, 4:00 AM · keyboxd, gpgagent, gnupg26

May 7 2025

werner added a comment to T6681: agent: Clean up main loop and better cache handling of expiration (was: Adding agent_timer API for monitoring something and passphrase cache).

Lucas Mülling commented yesterday on gnupg-devel:

May 7 2025, 11:40 AM · keyboxd, gpgagent, gnupg26

Feb 12 2025

werner moved T7522: pinentry started with invalid DBUS_SESSION_BUS_ADDRESS when invoked by gpg running in flatpak container from Backlog to Done on the pinentry board.
Feb 12 2025, 11:17 AM · Linux, pinentry, gpgagent, Bug Report
werner closed T7522: pinentry started with invalid DBUS_SESSION_BUS_ADDRESS when invoked by gpg running in flatpak container as Resolved.
Feb 12 2025, 11:16 AM · Linux, pinentry, gpgagent, Bug Report
werner added a comment to T7522: pinentry started with invalid DBUS_SESSION_BUS_ADDRESS when invoked by gpg running in flatpak container.

Here we go:

Feb 12 2025, 11:15 AM · Linux, pinentry, gpgagent, Bug Report
werner added a comment to T7522: pinentry started with invalid DBUS_SESSION_BUS_ADDRESS when invoked by gpg running in flatpak container.

Alright, my above putenv option won't work because it modifies the session environment and thus needs to be run for each gpg-agent session (connection). Adding a putenv_startrup option would help here but this way each connection could chnage the environment - also not good. In the end a way to modify the used environment variables, as you suggested, is a better way.

Feb 12 2025, 9:12 AM · Linux, pinentry, gpgagent, Bug Report

Feb 11 2025

samoverton added a comment to T7522: pinentry started with invalid DBUS_SESSION_BUS_ADDRESS when invoked by gpg running in flatpak container.

Yes, the workaround is to use a pinentry wrapper script that sets the value back to the correct one and then invokes the real pinentry.

Feb 11 2025, 4:52 PM · Linux, pinentry, gpgagent, Bug Report

Feb 10 2025

werner added projects to T7522: pinentry started with invalid DBUS_SESSION_BUS_ADDRESS when invoked by gpg running in flatpak container: gpgagent, pinentry, Linux.
Feb 10 2025, 4:08 PM · Linux, pinentry, gpgagent, Bug Report

Jan 23 2025

ebo renamed T7491: Confusing additional pinentry on creation of new keypair with ADSK configured from Kleopatra: Confusing additional pinentry on while new keypair with ADSK configured to Kleopatra: Confusing additional pinentry on creation of new keypair with ADSK configured .
Jan 23 2025, 9:18 AM · gpgagent, gnupg26, gnupg
werner triaged T7491: Confusing additional pinentry on creation of new keypair with ADSK configured as Normal priority.
Jan 23 2025, 8:28 AM · gpgagent, gnupg26, gnupg

Jan 8 2025

werner closed T2169: Smartcard card-edit generate fails when off-card backup of encryption key is selected as Resolved.
Jan 8 2025, 2:35 PM · gnupg24, gnupg26, Bug Report, gpgagent, gnupg (gpg21)
werner moved T2169: Smartcard card-edit generate fails when off-card backup of encryption key is selected from Backlog to done on the gnupg24 board.
Jan 8 2025, 2:35 PM · gnupg24, gnupg26, Bug Report, gpgagent, gnupg (gpg21)
werner moved T2169: Smartcard card-edit generate fails when off-card backup of encryption key is selected from Backlog to Done on the gnupg26 board.
Jan 8 2025, 2:34 PM · gnupg24, gnupg26, Bug Report, gpgagent, gnupg (gpg21)
werner added a comment to T2169: Smartcard card-edit generate fails when off-card backup of encryption key is selected.

Got a simple fix for this which does two things:

  1. Correctly act upon an error from the backup file writing
  2. Print a warning note.
Jan 8 2025, 2:04 PM · gnupg24, gnupg26, Bug Report, gpgagent, gnupg (gpg21)