Dear Emanuele,

it would be nice, if you could provide some more information about the
card you are working on. What I'm interested in is: If there are keys on
the card which are usable for signing but not for decrypting or vice
versa (in context of pkcs11/15)? And if so, is the pkcs1 padding for
this keys is added/removed by the card or is it done in the library?

The point is, that I'm having a local patch for the cardos driver that
works without the try-and-fail hack and doesn't even need the NEED_USAGE
mechanism. It works perfectly for me but isn't a general solution yet.
Depending on the keys on your card it could be helpful for you too.

Best Regards
Andre


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

Reply via email to