-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
8u65, 9
-
linux_ubuntu
sun/security/pkcs11/ec/TestECGenSpec.java test fails on Ubuntu 15.10 with the following exception:
java.security.InvalidAlgorithmParameterException: EC key must be at least 256 bits
at sun.security.pkcs11.P11KeyPairGenerator.checkKeySize(P11KeyPairGenerator.java:230)
at sun.security.pkcs11.P11KeyPairGenerator.initialize(P11KeyPairGenerator.java:216)
at java.security.KeyPairGenerator$Delegate.initialize(KeyPairGenerator.java:667)
at java.security.KeyPairGenerator.initialize(KeyPairGenerator.java:411)
at TestECGenSpec.main(TestECGenSpec.java:84)
at PKCS11Test.premain(PKCS11Test.java:86)
at PKCS11Test.testNSS(PKCS11Test.java:401)
at PKCS11Test.main(PKCS11Test.java:96)
at TestECGenSpec.main(TestECGenSpec.java:41)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
at java.lang.Thread.run(Thread.java:745)
java.security.InvalidAlgorithmParameterException: EC key must be at least 256 bits
at sun.security.pkcs11.P11KeyPairGenerator.checkKeySize(P11KeyPairGenerator.java:230)
at sun.security.pkcs11.P11KeyPairGenerator.initialize(P11KeyPairGenerator.java:216)
at java.security.KeyPairGenerator$Delegate.initialize(KeyPairGenerator.java:667)
at java.security.KeyPairGenerator.initialize(KeyPairGenerator.java:411)
at TestECGenSpec.main(TestECGenSpec.java:84)
at PKCS11Test.premain(PKCS11Test.java:86)
at PKCS11Test.testNSS(PKCS11Test.java:401)
at PKCS11Test.main(PKCS11Test.java:96)
at TestECGenSpec.main(TestECGenSpec.java:41)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
at java.lang.Thread.run(Thread.java:745)
- duplicates
-
JDK-8142541 [TESTBUG] TestECDH.java and TestECDSA.java fail on multiple Linux platforms
- Closed