systemd-user cannot connect to gpg-agent ssh-agent

Bug #1631320 reported by Dimitri John Ledkov on 2016-10-07
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnupg2 (Ubuntu)
Dimitri John Ledkov

Bug Description

I am using gpg smartcard for ssh keys.

I have enable-ssh-agent specified in ~/.gnupg/gpg-agent.conf

Upon login, without smart card plugged in, I expect:

$ ssh-add -l
The agent has no identities.

Instead, I get:

$ ssh-add -l
Error connecting to agent: No such file or directory

It appears that gpg-agent in yakkety uses $XDG_RUNTIME_DIR/gnupg/ for the ssh-agent socket, instead of $GHUPGHOME/.

Changed in gnupg2 (Ubuntu):
importance: Undecided → High
status: New → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnupg2 - 2.1.15-1ubuntu6

gnupg2 (2.1.15-1ubuntu6) yakkety; urgency=medium

  * gpg-agent.service: use XDG_RUNTIME_DIR for ssh-agent socket, instead
    of GNUPGHOME. LP: #1631320.

 -- Dimitri John Ledkov <email address hidden> Fri, 07 Oct 2016 11:20:28 +0100

Changed in gnupg2 (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers