Pregunta

We have applet that uses smartcards to sign something. Everything was OK until new java update on Mac OS. I'll explain. When macos had java 6 and special plugin for it, everything worked. But now they removed their plugin, and users must download browser-plugin for java 7 from Oracle web site.

Applet still sees Card Reader but doesn't see smartcard in it. We use reader.isCardPresent() method, and it returns "false", no exceptions etc. like everything ok and there is no card in cardreader. We restore backup of the os, when there was 6 java and MacOS's own plugin, everything works. But we have many clients that have just bought new iMac or MacBook, they cannot use 6 java and apple's plugin.

Everything works on Windows. We don't use any deprecated methods. Seems like problem with Oracle's plugin for Mac OS.

Anyone had similar problem or may be you have any ideas.

¿Fue útil?

Solución

I just make some tests: take code from sample and slightly modify it. Run the sample on jdk1.7.0_09 in macosx 10.8.2. Pcsc framework 1.4.0.

terminal.isCardPresent() return false, but card can be accessed. Bug exist when java running both 32 and 64 bit mode. Pcscd running in 32 bit mode only, because generic pcsc driver is still 32-bit only.

In pcscd debug log i see some parsing errors in SHMMessageReceive, so bug may be in java or in the pcsc framework (winscard_msg.cpp).

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top