On Thu, 25 Jan 2018 22:53:18 +0100 Thomas Goirand <z...@debian.org> wrote: > Hi, > > $work imposed using a yubikey on me for ssh auth. After a long painful > search on how to disable the gnome-keyring on mate, I finally had the > same issue as Ganneff, and it took me another long painful web search to > find out how to fix. So I also have to do: > > gpg-connect-agent updatestartuptty /bye > > to get the gpg-agent to prompt for the yubikey pin to fetch the key. I > would very much like to find a fix for this, typing it on each new > session is very annoying. I'm guessing this isn't the fault of > gnupg-agent, but whoever is starting it using the --supervised option. A > quick ps auxf shows: > > /lib/systemd/systemd --user > \_ (sd-pam) > \_ /usr/bin/gpg-agent --supervised > \_ scdaemon --multi-server > > and pstree output is: > > systemd─┬ > ├─systemd─┬─(sd-pam) > │ └─gpg-agent───scdaemon───2*[{pipe-connection}] > > so really, it looks like systemd is the badly configured thing here. > > Cheers, > > Thomas Goirand (zigo) > >