Martin Paljak a écrit : > On Feb 13, 2008, at 2:18 PM, JP Szikora wrote: >> The main problem with Leopard is bug in pcscd, which is still not fixed >> in 10.5.2. The daemon appends 0x00 to the ATR, and probably your card is >> not recognized anymore by OpenSC > > > The attached patch for src/libopensc/card.c should fix the problem > with the additional zeros appended to the ATR for all ATR related > lookups inside OpenSC. > > In theory the patch checks on Apple platforms if the ATR happens to be > MAX_ATR_SIZE long and for a given ATR match the tail of the ATR from > PCSC contains only zeros, it assumes it is running with the buggy > PC/SC implementation. > > Give it a try/view and send your feedback/comments. Hi,
I just commited a new experimental version of SCA: http://www.opensc-project.org/files/sca/experimental/sca-0.2.3pre2.dmg This version is really experimental, as the i386 part was compiled on a MacIntel running 10.5.2. The PPC part and the final build was done on a PPC running under Tiger. With Martin's patch, the ATR bug is bypassed, but there may be other problems (Tokend, etc...). Any feedbacks will be very welcome. Cheers, Jean-Pierre _______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel