Package: gnupg-agent Version: 2.1.18-4 Severity: important I've got:
SSH_AUTH_SOCK=/run/user/1000/gnupg/S.gpg-agent (this is manually forced since gnome-keyring appears to be managing to force itself as the SSH agent, I've filed a separate bug about that). When I try to list keys I get: $ ssh-add -L error fetching identities for protocol 2: invalid format The agent has no identities. Similarly attempting to SSH result in: debug1: pubkey_prepare: ssh_fetch_identitylist: invalid format in the SSH verbose output. If I manually disable all the systemd based activation and start gpg-agent from the command line with --daemon then the problem is resolved and I can happily authenticate. Severity important since this is preventing me logging into remote systems (including in my case kernel.org which is preventing me doing upstream kernel work right now). -- System Information: Debian Release: 9.0 APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.9.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages gnupg-agent depends on: ii libassuan0 2.4.3-2 ii libc6 2.24-9 ii libgcrypt20 1.7.6-1 ii libgpg-error0 1.26-2 ii libnpth0 1.3-1 ii libreadline7 7.0-2 ii pinentry-gnome3 [pinentry] 1.0.0-1 ii pinentry-gtk2 [pinentry] 1.0.0-1 Versions of packages gnupg-agent recommends: ii gnupg 2.1.18-4 Versions of packages gnupg-agent suggests: ii dbus-user-session 1.10.14-1 ii libpam-systemd 232-15 ii pinentry-gnome3 1.0.0-1 ii scdaemon 2.1.18-4 -- no debconf information