Возможно я слоупок, но только что обнаружил, что для работы бифитовского банк-клиента уже не надо ставить sun java 6. Достаточно поставить openjdk-7-jre с плагином, pcscd, и все работает. Даже не надо симлинки делать.
Убанта 12.04 amd64, абсолют-банк. Логинится, подписывает.
Правда, на рыжих токенах у pcscd есть косяк с таймаутами, и приходится запускать вручную «pcscd -df».
Еще что-то какает в консоль, но на результат не влияет. Единственное, что не пробовал - создавать новые ключи.
java version "1.7.0_09"
OpenJDK Runtime Environment (IcedTea7 2.3.3) (7u9-2.3.3-0ubuntu1~12.04.1)
OpenJDK 64-Bit Server VM (build 23.2-b09, mixed mode)
================================
== BIFIT FIRMWARE ==
================================
java.lang.UnsatisfiedLinkError: ibank2cryptoc2
at com.bifit.jni.Utils.loadLibrary(Unknown Source)
at com.bifit.security.gost.CryptoC2.<clinit>(Unknown Source)
at com.bifit.security.gost.CryptoC2CryptoFactory.a(Unknown Source)
at com.bifit.security.gost.CryptoFactory.a(Unknown Source)
at com.bifit.security.gost.CryptoFactory.useInstance(Unknown Source)
at com.bifit.security.gost.CryptoFactory.usePreferredInstance(Unknown Source)
at com.bifit.harver.ClientApplet.a(Unknown Source)
at com.bifit.harver.ClientApplet.start(Unknown Source)
at sun.applet.AppletPanel.run(AppletPanel.java:475)
at java.lang.Thread.run(Thread.java:722)
Use crypto : STANDARD WITH 'GOST R 34.10-2001'
java.lang.UnsatisfiedLinkError: no jpcsc in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1856)
at java.lang.Runtime.loadLibrary0(Runtime.java:845)
at java.lang.Runtime.loadLibrary(Runtime.java:833)
at com.linuxnet.jpcsc.PCSC.<clinit>(Unknown Source)
at com.linuxnet.jpcsc.Context.<clinit>(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:186)
at com.bifit.security.gost.CardFinder.<clinit>(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:186)
at com.bifit.security.r.<clinit>(Unknown Source)
at com.bifit.security.CryptoEngine.getAllowedKeystoreProtocols(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.mozilla.javascript.aq.a(Unknown Source)
at org.mozilla.javascript.bi.call(Unknown Source)
at org.mozilla.javascript.optimizer.OptRuntime.callProp0(Unknown Source)
at org.mozilla.javascript.gen.c4._c37(login-pane:763)
at org.mozilla.javascript.gen.c4.call(login-pane)
at org.mozilla.javascript.optimizer.OptRuntime.callName(Unknown Source)
at org.mozilla.javascript.gen.c4._c11(login-pane:147)
at org.mozilla.javascript.gen.c4.call(login-pane)
at org.mozilla.javascript.optimizer.OptRuntime.callProp0(Unknown Source)
at org.mozilla.javascript.gen.c3._c1(init:16)
at org.mozilla.javascript.gen.c3.call(init)
at org.mozilla.javascript.ContextFactory.doTopCall(Unknown Source)
at org.mozilla.javascript.ScriptRuntime.doTopCall(Unknown Source)
at org.mozilla.javascript.gen.c3.call(init)
at org.mozilla.javascript.ab.a(Unknown Source)
at org.mozilla.javascript.ac.a(Unknown Source)
at org.mozilla.javascript.Context.a(Unknown Source)
at org.mozilla.javascript.ContextFactory.call(Unknown Source)
at org.mozilla.javascript.ab.a(Unknown Source)
at org.mozilla.javascript.jdk13.VMBridge_jdk13$1.invoke(Unknown Source)
at $Proxy10.propertyChange(Unknown Source)
at java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:335)
at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:327)
at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:263)
at com.bifit.harver.core.Context.firePropertyChange(Unknown Source)
at com.bifit.harver.d.run(Unknown Source)
PC/SC mode: Java Smart Card I/O
DEFAULT_ACCOUNTS LOADED
DEFAULT_BANKS LOADED