More on this.

Looking at the trace you did send on 12/9/2012:
line 418: 0x7fff706e5cc0 14:39:03.351 [pkcs15-tool] card.c:180:sc_connect_card: 
trying driver: muscle
causes the muscle_match_card in card-muscle.c to try and select the muscle 
applet with APDU:
00 A4 04 00 05 A0 00 00 00 01
with response:
90 00
It then reads some version information for the applet on the card APDU:
B0 3C 00 00 40
with response:
00 01 00 05 00 00 75 30 00 00 5E F6 02 02 00 00
90 00

It is Successful, but response[0] == 0x00, but muscle_match_card is looking for 
0x01
so it does not recognize the applet.

Can you check how you loaded the applet.


On 12/10/2012 9:54 AM, Douglas E. Engert wrote:
>
>
> On 12/9/2012 9:56 AM, Ludovic Rousseau wrote:
>> 2012/12/9 Rns Course <rns_cou...@yahoo.com>:
>>> Another request of you:
>>> what's your opinion about  windows version of opensc (0.12.2 or 0.13.0) and
>>> the problem "File not found" in pkcs15 initialization?
>
> Why use 0.13.0:
>     o 0.13.0 has many more fixes.
>     o You will get better responses from this list if you test with 0.13.0.
>     o Any fixes will be applied to 0.13.0,
>
> You may be fighting 4 different problems:
>
>    (1) VMware remaps the card card name, and causes confusion with pcsc.
>
>        If you could use a real machine that would eliminate this problem for 
> now.
>
>    (2) You said:
>       > installed Card Reader driver on fedora with name "ifdokccid.so"
>       > (my Card Reader is Omnikey CardMan 3121).
>
>       Is this really needed on unix? I thought pcscd would use its own
>       libccid.so for this reader. If this is a vendor provided library,
>       what version are you using?
>
>       Can you try without this file.
>
>    (3) You said:
>       > I've tested OpenSC-0.13.0 MSI on Windows7 and had the same problem in
>       > pkcs15 initialization as 0.12.2 version!
>
>       This would indicate that your real problem is with opensc most likely
>       not recognizing the card. (The vendor's window driver works with windows
>       but the venodor's unix driver may not work with the version of pcscd on
>       fedora. The introduction of VMware just complicates the problems.
>
>    (4) You said the card is reported:
>        >   ATR: 3B F7 18 00 00 80 31 FE 45 73 66 74 65 2D 6E 66 C4
>        > Possibly identified card (using /usr/share/pcsc/smartcard_list.txt):
>        > 3B F7 18 00 00 80 31 FE 45 73 66 74 65 2D 6E 66 C4
>        > SmartCafe Expert 3.2 72K
>
> I don't think this card is supported by OpenSC. In the OpenSC source, any 
> version
> look at the src/libopensc directory. The supported cards all have a module
> names card-*.c  It might be possible that the iso7816.c directly.
> Or you could add an entry  in the opensc.conf to force the ATR to be mapped
> to a specific supported card.
>
>
> See the discussion from Aug 2011 on the OpenSC -devel lists:
>
>    [opensc-devel] SmartCafe Expert 3.2 72K works fine in some versions but is 
> an "unsupported card" in other versions.
>
> It is not clear if this was ever resolved.
>
>
>
>
>
>
>
>
>
>
>
>
>
> In a previous note you said:
>>> Opensc-tool doesn't find the card to show the ATR, because the card reader
>>> is not known for it as OMNIKEY.
>
>
>
>
>>
>> No idea.
>>
>

-- 

  Douglas E. Engert  <deeng...@anl.gov>
  Argonne National Laboratory
  9700 South Cass Avenue
  Argonne, Illinois  60439
  (630) 252-5444
_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to