Henryk Plötz wrote:
The problem is now: On this card the EF(CDF) etc. are record-oriented
files and not transparent files as opensc is expecting. So pkcs15-tool
doesn't get very far, because READ BINARY won't work on these files.

we had a fix for that already, but I'm not sure if it made it into trunk.

could you do me a favor? please use opensc-tool or opensc-explorer
to dumb such a file and check if each record starts with xx yy
where xx = 01, 02, ... and yy is the length of the record - 2
(length of the rest). that would be an extra unneeded header
we need to get rid of. (I found that on some other card I have
from siemens).

I'll try to find my old patch and commit it and/or send it to you for
testing.

one more issue I know of is: they use relative paths, we use absolute
paths. we had patches for that too, but my ugly hacked worked, while
the cleaner solutions did not, and I never understood why.
that might be the next issue you can stumble upon.

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