GPG2 SSH SmartCard Private Key Auth

Werner Koch wk at gnupg.org
Sat Jul 24 08:21:22 CEST 2010


> The problem though is when I'm trying to get SSH to work with it. It
> wont authenticate.

Does "ssh-add -l" sdhow the key?  

> 2010-07-23 20:01:57 gpg-agent[1315] gpg-agent (GnuPG) 2.0.13 started

It would better to try 2.0.16 becuase that is the one I can test.

> 2010-07-23 20:03:38 gpg-agent[1315] failed to build S-Exp (off=0): Bad character in S-expression

Somewhere in agent/findkey.c - you need to debug it.  Tracing which
files gpg-agent opens might help - it will be one below
private-keys-v1.d.  Look at that file using

/usr/local/libexec/gpg-protect-tools FILE

Does it parse cleanly?



Shalom-Salam,

   Werner


-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.




More information about the Gnupg-users mailing list