Public bug reported:

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/.

** Affects: gnupg2 (Ubuntu)
     Importance: High
     Assignee: Dimitri John Ledkov (xnox)
         Status: Fix Committed

** Changed in: gnupg2 (Ubuntu)
   Importance: Undecided => High

** Changed in: gnupg2 (Ubuntu)
       Status: New => Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1631320

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnupg2/+bug/1631320/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to