Hi Stesie! > first of all, I'd like to thank you for writing OpenSC. nice to know !
> I recently got myself a `DATEV SmartCard classic' and tried to use it > with OpenSC today (svn snapshot 3144). > > However I had to slightly modify libopensc to make it recognize the > card: Seems that you understand my sourcecode !! I normally don't :-) What's going on is that some TCOS based cards have optional keys. So when the pkcs15-tcos.c tries to detect a card it looks for the mandatory keys. For the SmartCard Classic I assumed that the signature key is contained in every SmartCard Classic. I'm sure your card has a signature key too but Datev must have changed its location. With your patch pkcs15-tcos will now detect your card but it will ignore your signature key as you changed it into an optional key. Please post opensc-tool -f output of your card. I collect inforamtion about all kinds of TCOS based signature cards and this will help me to change the code such that all keys on all Datev Cards will be properly detected. When did you buy your card? Signature cards conforming to the german signature law should have keys >=1280bit now. But OpenSC does NOT support TCOS 3.0 yet. So your card must be a TCOS 2.0 card and hence will support 1024bit keys only. Maybe that's the reason why Datev changed the layout of their cards. I would have expected them to use TCOS 3.0 cards now. Peter _______________________________________________________________ SMS schreiben mit WEB.DE FreeMail - einfach, schnell und kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192 _______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel