Page MenuHome GnuPG

ssh-agent support broken
Closed, ResolvedPublic

Description

I use gentoo linux amd64 with gnupg-2.1.8 and OpenSSH_6.9p1-hpn14v5

After updating to gnupg-2.1.8, gpg-agent will no longer spawn pinentry program
and allow SSH pubkey logins. ssh-add -l will also complain: error fetching
identities for protocol 2: invalid format

ssh -v user@host additionally says this: debug1: pubkey_prepare:
ssh_fetch_identitylist: invalid format

reverting to gnupg-2.1.7 fixes the issue.

The same bug report in Debian:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=798956
and in Arch:
https://bugs.archlinux.org/task/46395

Event Timeline

iprok set External Link to https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=798956.Sep 23 2015, 6:51 PM
iprok set Version to 2.1.8.
iprok added a subscriber: iprok.

Are you using an Ed25519 key? There was a regression in 2.1.8 which has
meanwhile be fixed in the repo. See also T2096.

I use several key of near all types: ed25519, rsa, dsa, ecdsa. All of them have
stopped working.

For no pinentry pop-up, I think that this is same cause described in the Issue 2112.
Please try the patch in T2112

iprok renamed this task from ssh-agent support broken in 2.1.8 to ssh-agent support broken.Oct 20 2015, 11:31 AM
iprok changed Version from 2.1.8 to 2.1.9.

The same issue in 2.1.9

Please remove your private key(s) of ed25519 and register it again.

Please see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=798956#24

Removing and readding key helped. Thanks. Seems to be solved in 2.1.9

iprok changed Version from 2.1.9 to 2.1.8.