Hi, I found the cause of the issue. My smart card was not initialized for OpenSC. How can my application know with PKCS11 interface that the smart card is initialized ?
Regards. Eric ----- Original Message ----- From: "Eric Boudrand" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Wednesday, April 26, 2006 9:55 AM Subject: [opensc-devel] cannot find file with oberthur smart card > Hi, > > I have a problem with an Oberthur smart card. When I do a > C_Initialize(NULL_PTR) I have the following errors : > > =================================== > opensc version: 0.10.0 > 0: Detecting smart card > sc.c:140:: called > sc.c:145:: returning with: 1 > 0: Connecting to smart card > card.c:372:: called > Calling card logout function > Calling card logout function > serial number 807732318 > Calling card logout function > card info: AuthentIC v5, 11004, 0x0 > card.c:481:: returning with: 0 > 0: Detecting Framework > pkcs15.c:612:: called > called; type=2, path=3f002f00 > path; type=2, path=3f002f00 > cache; type=0, path= > File not found > card-oberthur.c:685:: Card returned error: File not found > return -1201 > card.c:763:: returning with: -1201 > called; type=2, path=3f005015 > path; type=2, path=3f005015 > cache; type=0, path=3f00 > File not found > card-oberthur.c:685:: Card returned error: File not found > return -1201 > card.c:763:: returning with: -1201 > called; type=2, path=3f005031 > path; type=2, path=3f005031 > cache; type=0, path=3f00 > File not found > card-oberthur.c:685:: Card returned error: File not found > return -1201 > card.c:763:: returning with: -1201 > EF(ODF) not found in '3f005031' > > I have checked with opensc-explorer. Under MF, I can only find file 5011. > C_Initialize returns CKR_OK. Any idea ? > > Regards. > > Eric > > _______________________________________________ > opensc-devel mailing list > [email protected] > http://www.opensc-project.org/mailman/listinfo/opensc-devel _______________________________________________ opensc-devel mailing list [email protected] http://www.opensc-project.org/mailman/listinfo/opensc-devel
