Home GnuPG
Diffusion GnuPG 6bf5696c8578

agent: Fix ssh-agent's request_identities for skipped keys.

Description

agent: Fix ssh-agent's request_identities for skipped keys.

* agent/command-ssh.c (ssh_send_available_keys): Adjust key counter
for skipped keys.

which introduced a regression due to an extra variable for counting
the keys.

The bug showed up for example if a card with a Brainpool Auth key was
also used. Unfortunately OpenSSH still does not allow for Brainpool
keys.

(cherry picked from commit 2469dc5aae671247100339493ad7919919a02db9)

Details

Provenance
wernerAuthored on Jan 22 2025, 4:12 PM
Parents
rG80d56172f29f: dirmngr: Do not require a keyserver for KS_FETCH.
Branches
Unknown
Tags
Unknown