Hello,

first of all, I'd like to thank you for writing OpenSC.

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:

#v+
--- opensc-0.11.2.orig/src/libopensc/pkcs15-tcos.c
+++ opensc-0.11.2/src/libopensc/pkcs15-tcos.c
@@ -71,7 +71,7 @@
                {1, 2, 0x46, 1, "800082008220", "SignTrust Verschluesselungs 
Zertifikat"},
                {1, 2, 0x47, 1, "800083008320", "SignTrust Authentifizierungs 
Zertifikat"},
                {0, 3, 0x45, 0, "3000C500",     "DATEV Signatur Zertifikat"},
-               {1, 3, 0x46, 0, "DF02C200",     "DATEV Verschluesselungs 
Zertifikat"},
+               {0, 3, 0x46, 0, "DF02C200",     "DATEV Verschluesselungs 
Zertifikat"},
                {1, 3, 0x47, 0, "DF02C500",     "DATEV Authentifizierungs 
Zertifikat"},
                {0, 4, 0x45, 1, "41004352",     "Smartkey Zertifikat 1"},
                {0, 4, 0x46, 1, "41004353",     "Smartkey Zertifikat 2"},
#v-

The card I've got has been manufactured on March 15, 2007 and is based
on SLE66CX322P.  However the record 3000C500 is not available, as
opposed to DF02C200 and DF02C500.  Since the latter have flags set to
`1' they aren't checked for and the card is not detected.

If I change one record to `flags = 0' it is correctly detected and can
be used successfully.

cheers,
  stesie

-- 
Do not worry about your difficulties in mathematics;
I can assure you that mine are still greater.
                                  -- Albert Einstein
_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to