Am Donnerstag 08 April 2010 16:24:59 schrieb Jean-Michel Pouré - GOOZE:
> On Thu, 2010-04-08 at 09:00 -0500, Douglas E. Engert wrote:
> > I am sending your responce to the OpenSC list, as others
> > might wnat to know what you found.
> 
> I reported a bug on OpenSSH:
> https://bugzilla.mindrot.org/show_bug.cgi?id=1751

what exactly are you trying to do there? I'm confused.

you need to
* start ssh-agent configured with opensc-pkcs11.so
* then use ssh-add to register the key in the smart card
  (not sure if you need to specify the opensc-pkcs11.so object here).

it won't work if you 
* run ssh-agent without opensc-pkcs11.so option
* run ssh-add with opensc-pkcs11.so option

at least I guess that won't work. how could a command line tool
pass info the the agent? I guess not at all - its not a file
which you can decrypt and then forward the content.

in the other direction it should work fine - ssh-add asks
for the pin, ssh-agent opens the token/slot and accesses
the key.

also not sure if you need to specify slot or token...

Regards, Andreas
_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to