I found two more issues: > We use a token with Siemens CardOS 4.3b and would like to use OpenSC. The > token contains a PKCS#15 part and a special SigG part. Now there are > several problems: the first key in the siemens log is the sigG key, right? so that is why it is missing.
the extra public keys in the log are easily explained: some cards can't store public keys. sometimes the public key parts of an rsa keys are only provided once by the card, when the key is created, and there is no way to get them again later. and some applications expect a public key object, for some reason, and refuse to work properly without. so opensc has a workaround: if there is a certificate on the card, we extract the public key information from it, and provide it as public_key object. so far this caused no trouble, but if it does, maybe we can create a config option to turn it off or similar. what else? the id and serial numbers are different, strange. maybe some card internal or different interpretation from pkcs#15? we would need more information to debug that (see last mail), maybe even debug logs. and opensc has MODIFIABLE, as 00, while the siemens software has it as 01. sure, opensc didn't initialize the card, so it is best to say "we can't change it". so in total the *.txt files are almost the same - siemens has more details on the card, siemens has the sigG key, opensc has a few extra public key objects, and the id/serials differ. did you notice more than that? Regards, Andreas _______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel