Thanks for the help/information. i did a test with the linux driver from the cherry homepage but this driver doesn't work also for me.
Am 24.07.2013 13:39, schrieb Ludovic Rousseau: > 2013/7/22 Hans-Martin Haase <[email protected]>: >> Hello, > > Hello, > >> we discovered a bug in the ccid driver. >> >> For a Cherry GmbH SmartBoard XX44 [Smart Card Reader USB] Model >> RS 6700 USB the ReadBinary command apdu executed on a German >> E-Health Card fails. > > The reader you are using do not support extended APDU but short > APDU only. See > http://pcsclite.alioth.debian.org/ccid/readers/CherryXX44.txt and > http://pcsclite.alioth.debian.org/ccid_extended_apdu.html > > And your application is sending an extended APDU: 00 B0 00 00 00 00 > 00 > > From the pcscd log: 00000010 winscard.c:1581:SCardTransmit() Send > Protocol: T=1 00000015 APDU: 00 B0 00 00 00 00 00 00000010 > ifdhandler.c:1265:IFDHTransmitToICC() > usb:046a/0010:libudev:1:/dev/bus/usb/003/002 (lun: 0) 00000008 > commands.c:1627:CmdXfrBlockTPDU_T0() T=0: 7 bytes 00000020 -> > 000000 6F 07 00 00 00 00 31 00 00 00 00 B0 00 00 00 00 00 00003609 > <- 000000 80 00 00 00 00 00 31 40 F6 00 00000040 > commands.c:1401:CCID_Receive Protocol not supported 00000008 SW: > 00000007 ifdwrapper.c:527:IFDTransmit() Card not transacted: 612 > 00000007 winscard.c:1606:SCardTransmit() Card not transacted: > 0x80100016 > > >> We used the openecard app https://github.com/ecsec/open-ecard . >> The problem is not the java smart card IO because we tested it >> successfully on a Window 7 with the current java version. > > Maybe the Windows driver is from the reader manufacturer (Cherry) > and know a proprietary way to send an extended APDU. I guess you > find have the same problem if you use the Windows CCID driver > instead. > > Maybe you can find a reader firmware upgrade to make the reader > support extended APDU in the standard CCID way. > > Another solution is to do some reverse engineering on the Cherry > Windows driver to know how that is managed under Windows. But that > will take time to implement a non CCID standard solution. > > Bye > -- Mit freundlichen Grüßen / Best regards Hans-Martin Haase --------------------------------------------------------------------------- B.Sc. Bioinf. Hans-Martin Haase Mail: [email protected] ecsec GmbH Sudetenstrasse 16 96247 Michelau Telefon +49 9571 896479 Mobil +49 171 9754980 [email protected] ecsec GmbH Sudetenstrasse 16 96247 Michelau Amtsgericht Coburg HRB 4622 USt-ID DE266920858 Steuernummer 212/125/70009 Geschäftsführer: Tina Hühnlein Dr. Detlef Hühnlein Diese E-Mail kann vertrauliche Informationen enthalten. Falls Sie diese E-Mail irrtümlich erhalten haben, informieren Sie bitte unverzüglich den Absender und löschen Sie diese E-Mail von jedem Rechner, auch von den Mailservern. Jede Verbreitung des Inhalts, auch die teilweise Verbreitung, ist in diesem Fall untersagt. Außer bei Vorsatz oder grober Fahrlässigkeit schließen wir jegliche Haftung für Verluste oder Schäden aus, die durch Viren befallene Software oder E-Mails verursacht werden. This e-mail may contain strictly confidential information and is intended for the person to which it is addressed only. Any dissemination, even partly, is prohibited. If you receive this e-mail by mistake, please contact the sender and delete this e-mail from your computer, including your mailserver. Except in case of gross negligence or wilful misconduct we accept no liability for any loss or damage caused by software or e-mail viruses. _______________________________________________ Muscle mailing list [email protected] http://lists.musclecard.com/mailman/listinfo/muscle_lists.musclecard.com
