Le 21 juin 2010 08:47, Jean-Michel Pouré - GOOZE <jmpo...@gooze.eu> a écrit :
> On Sat, 2010-06-19 at 19:06 +0200, Andreas Jellinghaus wrote:
>> google "pkcs11-spy" and the first hit is:
>> http://www.opensc-project.org/opensc/wiki/UsingOpensc
>
> Thanks I updated the doc with examples.
> Now, I try to reproduce with ssh-add:
>
> PKCS11SPY=/usr/lib/pkcs11/opensc-pkcs11.so \
> PKCS11SPY_OUTPUT=/tmp/pkcs-spy.log \
> ssh-add -s /usr/lib/pkcs11-spy.so
>
> Enter passphrase for PKCS#11:
> SSH_AGENT_FAILURE
> Could not add card: /usr/lib/pkcs11-spy.so

Your PKCS#11 could not be used. Maybe a symbol is missing in the .so
Try:
$ ldd -r /usr/lib/pkcs11-spy.so

> There is no log in /tmp/pkcs-spy.log

Of course.

-- 
 Dr. Ludovic Rousseau
_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to