Thank you very much for your answer. I have already solve my problem. The problem was that I had initialized the smart card with only the SO Pin, and therefore the opensc-pkcs11.dll didn't find any slot. Using the onepin profile (pkcs15-init -ECT -p pkcs15+onepin) now I can interact with the smart card.
Anyway, I appreciate your help. Regard. > 2010/2/3 François Leblanc <francois.lebl...@cev-sa.com> > >> >pkcs11-tool -L show me the slots but they are always empty. I've used my >> >application with the manufacturer libraries and it >works appropriately. >> So >> >I think my problem could be related to my opensc configuration. I didn't >> >modify the opensc.conf file >because i'm using a usual card supported by >> >opensc, Do I have to modify it? >> >> >> >Could someone give me any information? I'm running out of ideas. >> >Many Thanks again to everybody. >> >Regards. >> >> Hum for me (but I don't follow all the discussion so it maybe a mistake) I >> don't see emulator starting for startcos in log file. >> >> You say you have provider dll working with your card so your card is >> initialized >> And certificat/key are present but not in pkcs15 format. If you tryed to >> init >> Your card with pkcs15-init -C command you start to add pkcs15 structure in >> your >> Card it's why the emulator don't take the hand on it... >> >> This can explain your trouble only if pkcs11-tool -L (list slot) don't let >> see >> Slots with only Security Officier pin.... >> >> Can you try to configure opensc.conf this way: >> >> try_emulation_first = yes; >> >> and/or >> >> add a key with pkcs15-init command >> >> >> François. >> >> >> _______________________________________________ >> opensc-devel mailing list >> opensc-devel@lists.opensc-project.org >> http://www.opensc-project.org/mailman/listinfo/opensc-devel >> > >
_______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel