GPG2 SSH SmartCard Private Key Auth

Frank Stefan Sundberg Solli frankstefan at gmail.com
Sat Jul 24 15:09:57 CEST 2010


  On 24.07.10 08:21, Werner Koch wrote:
>> 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?
Yes it shows up here
>> 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?
1 out of 3 parses, the errors are

gpg-protect-tool: invalid S-Expression in 
`E1771DB82D9516EE5866A3E617AE04ACE36B3574.key' (off=0): Unexpected 
reserved punctuation in S-expression
frank at t60-opensolaris:~/.gnupg/private-keys-v1.d$ gpg-protect-tool 
6BA2F28EA67A715A92FF055793954B68AA03C833.key
gpg-protect-tool: invalid S-Expression in 
`6BA2F28EA67A715A92FF055793954B68AA03C833.key' (off=0): Bad character in 
S-expression

>
>
> Shalom-Salam,
>
>     Werner
>
>




More information about the Gnupg-users mailing list