Page MenuHome GnuPG

gpgagentProject
ActivePublic

Members

  • This project does not have any members.
  • View All

Recent Activity

Wed, Apr 1

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.

Wed, Apr 1, 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.

Wed, Apr 1, 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:

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

Tue, Mar 31

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

Tue, Mar 31, 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.

Tue, Mar 31, 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 to some debug logging and whenever login issue occurs new logic is applied:
https://github.com/gpg/gnupg/blob/bc7c91bee521e4adf3506ca32bf34177b84ce1c5/agent/command-ssh.c#L1482

Tue, Mar 31, 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.

Tue, Mar 31, 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
Tue, Mar 31, 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

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

Mon, Mar 23

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?

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

Thu, Mar 19

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.

Thu, Mar 19, 2:04 PM · gnupg24, 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)

Thu, Mar 19, 12:25 PM · gnupg24, gnupg22, Bug Report, gpgagent, gnupg26
ikloecker updated the task description for T8182: Make OK the default action for the "insert card" prompt..
Thu, Mar 19, 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.)

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

Wed, Mar 18

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
Wed, Mar 18, 9:00 PM · gpgagent, gnupg26, pinentry, Bug Report
werner triaged T8182: Make OK the default action for the "insert card" prompt. as Normal priority.
Wed, Mar 18, 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 · gnupg24, 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 · gnupg24, gnupg22, Bug Report, gpgagent, gnupg26
timegrid created T8078: GpgAgent: trustlist.txt still requires LF on the last line.
Feb 2 2026, 3:20 PM · gnupg24, 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