-
Bug
-
Resolution: Cannot Reproduce
-
P3
-
None
-
8u25
-
x86_64
-
windows_7
FULL PRODUCT VERSION :
java version "1.8.0_25"
Java(TM) SE Runtime Environment (build 1.8.0_25-b18)
Java HotSpot(TM) Client VM (build 25.25-b02, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows [Version 6.1.7601] (Windows 7 64-bit)
A DESCRIPTION OF THE PROBLEM :
SunPkcs11 provider fails to parse config path containing parenthesis. This worked with Java 1.8.0_11, but not anymore with Java 1.8.0_25.
Used path: "C:\Program Files (x86)\Fujitsu\mPollux DigiSign Client\Cryptoki.dll"
Error message:
java.security.ProviderException: Error parsing configuration
at sun.security.pkcs11.Config.getConfig(Config.java:88)
at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:129)
at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:107)
at fi.xyz.util.sec.xmlsignature.SmartCardDigitalSigning.initSmartCardKeystore(SmartCardDigitalSigning.java:121)
at fi.xyz.util.sec.xmlsignature.CDA2XmlSignature.signDocument(CDA2XmlSignature.java:164)
at fi.xyz.allekirjoitus.AllekirjoitusApplet.init(AllekirjoitusApplet.java:91)
at com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter.init(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: sun.security.pkcs11.ConfigurationException: Unknown keyword 'DigiSign', line 2
at sun.security.pkcs11.Config.parse(Config.java:466)
at sun.security.pkcs11.Config.<init>(Config.java:220)
at sun.security.pkcs11.Config.getConfig(Config.java:84)
... 8 more
REGRESSION. Last worked in version 8u11
ADDITIONAL REGRESSION INFORMATION:
Works with Java version:
java version "1.8.0_11"
Java(TM) SE Runtime Environment (build 1.8.0_11-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.11-b03, mixed mode)
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Seems to be duplicate of these:
http://bugs.java.com/bugdatabase/view_bug.do?bug_id=8023745
http://bugs.java.com/bugdatabase/view_bug.do?bug_id=7196009
REPRODUCIBILITY :
This bug can be reproduced always.
java version "1.8.0_25"
Java(TM) SE Runtime Environment (build 1.8.0_25-b18)
Java HotSpot(TM) Client VM (build 25.25-b02, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows [Version 6.1.7601] (Windows 7 64-bit)
A DESCRIPTION OF THE PROBLEM :
SunPkcs11 provider fails to parse config path containing parenthesis. This worked with Java 1.8.0_11, but not anymore with Java 1.8.0_25.
Used path: "C:\Program Files (x86)\Fujitsu\mPollux DigiSign Client\Cryptoki.dll"
Error message:
java.security.ProviderException: Error parsing configuration
at sun.security.pkcs11.Config.getConfig(Config.java:88)
at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:129)
at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:107)
at fi.xyz.util.sec.xmlsignature.SmartCardDigitalSigning.initSmartCardKeystore(SmartCardDigitalSigning.java:121)
at fi.xyz.util.sec.xmlsignature.CDA2XmlSignature.signDocument(CDA2XmlSignature.java:164)
at fi.xyz.allekirjoitus.AllekirjoitusApplet.init(AllekirjoitusApplet.java:91)
at com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter.init(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: sun.security.pkcs11.ConfigurationException: Unknown keyword 'DigiSign', line 2
at sun.security.pkcs11.Config.parse(Config.java:466)
at sun.security.pkcs11.Config.<init>(Config.java:220)
at sun.security.pkcs11.Config.getConfig(Config.java:84)
... 8 more
REGRESSION. Last worked in version 8u11
ADDITIONAL REGRESSION INFORMATION:
Works with Java version:
java version "1.8.0_11"
Java(TM) SE Runtime Environment (build 1.8.0_11-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.11-b03, mixed mode)
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Seems to be duplicate of these:
http://bugs.java.com/bugdatabase/view_bug.do?bug_id=8023745
http://bugs.java.com/bugdatabase/view_bug.do?bug_id=7196009
REPRODUCIBILITY :
This bug can be reproduced always.
- duplicates
-
JDK-8023919 SunPkcs11 provider fails to parse config path containing parenthesis
- Resolved