Hello,

Some of the natively PKCS#15 cards are concerned with the same problem of 
invalid reference ASN.1 encoding
as it's the case with the StarCOS cards formated with OpenSC before 0.11.4 .

Actual fix is conditioned only for StarCOS cards.
http://www.opensc-project.org/opensc/browser/trunk/src/libopensc/pkcs15.c#L291

I would like to generalize this fix and apply it for all cards,
with the assumption that PIN reference cannot be negative and key reference 
cannot be less then -1.

Have you any objections?

Kind wishes,
Viktor.

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

Reply via email to