Home GnuPG
Diffusion GnuPG 2469dc5aae67

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.

Details

Provenance
wernerAuthored on Wed, Jan 22, 4:12 PM
Parents
rGb1857a2836c9: gpg: Fix handling with no CRC armor.
Branches
Unknown
Tags
Unknown
References
HEAD -> master