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