Henryk Plötz wrote:
Moin,
Not so long ago my university's computer department started issuing
smartcards with certificates. These are Siemens CardOS 4.3B cards, to be
used with some proprietory software called HiPath SIcurity Card API.
However, to my great delight the file structure on the card seems to be
PKCS#15 compatible. opencs's pkcs15-tool initially had some rather grave
problems (it only read 258 bytes of EF(TokenInfo) which really is 277
bytes long and then the ASN.1 parser bailed out), but these seem to be
fixed in recent SVN.
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.
I'm not sure, I didn't find any clear wording on this issue in the
PKCS#15 specs, so: Is this allowed?
afaik it's allowed in iso7816-15 (and actually it makes sense to use
records for the dircetory files)
And then: Any volunteers that want to implement support for it in
opensc? Or should I try and look into it?
PS: I was somewhat confused that I didn't find any debug option to log
all incoming and outgoing APDUs, which I would regard as the most basic
and powerful debug technique. Did I miss something?
"./configure ... --enable-debug" perhaps.
Cheers,
Nils
_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel