-
Bug
-
Resolution: Fixed
-
P3
-
18
-
b27
-
aarch64
-
linux
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8281464 | 17.0.4-oracle | Sean Coffey | P3 | Resolved | Fixed | b01 |
JDK-8282262 | 17.0.3-oracle | Sean Coffey | P3 | Resolved | Fixed | b07 |
JDK-8279320 | 17.0.3 | Goetz Lindenmaier | P3 | Resolved | Fixed | b01 |
sun/security/pkcs11/Signature/SignatureTestPSS2.java
sun/security/pkcs11/Signature/SigInteropPSS2.java
Here's a snippet from the SignatureTestPSS2.java log file:
----------System.err:(23/1377)----------
java.lang.AssertionError
at jdk.crypto.cryptoki/sun.security.pkcs11.wrapper.CK_MECHANISM.setParameter(CK_MECHANISM.java:167)
at jdk.crypto.cryptoki/sun.security.pkcs11.P11PSSSignature.ensureInitialized(P11PSSSignature.java:234)
at jdk.crypto.cryptoki/sun.security.pkcs11.P11PSSSignature.engineUpdate(P11PSSSignature.java:559)
at java.base/java.security.Signature$Delegate.engineUpdate(Signature.java:1393)
at java.base/java.security.Signature.update(Signature.java:902)
at java.base/java.security.Signature.update(Signature.java:871)
at SignatureTestPSS2.checkSignature(SignatureTestPSS2.java:115)
at SignatureTestPSS2.test(SignatureTestPSS2.java:92)
at SignatureTestPSS2.runTest(SignatureTestPSS2.java:85)
at SignatureTestPSS2.main(SignatureTestPSS2.java:71)
at PKCS11Test.premain(PKCS11Test.java:174)
at PKCS11Test.testNSS(PKCS11Test.java:550)
at PKCS11Test.main(PKCS11Test.java:210)
at SignatureTestPSS2.main(SignatureTestPSS2.java:56)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:577)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:312)
at java.base/java.lang.Thread.run(Thread.java:833)
JavaTest Message: Test threw exception: java.lang.AssertionError
JavaTest Message: shutting down test
----------System.out:(5/190)----------
Beginning test run SignatureTestPSS2...
nssLibDir: /usr/lib64/
Running test with provider SunPKCS11-NSS (security manager disabled) ...
[KEYSIZE = 2048]
Testing against SHA224withRSASSA-PSS
result: Failed. Execution failed: `main' threw exception: java.lang.AssertionError
Here's a snippet from the SigInteropPSS2.java log file:
----------System.out:(5/174)----------
Beginning test run SigInteropPSS2...
nssLibDir: /usr/lib64/
Running test with provider SunPKCS11-NSS (security manager disabled) ...
Sign: SunPKCS11-NSS
Verify: SunRsaSign
----------System.err:(22/1288)----------
java.lang.AssertionError
at jdk.crypto.cryptoki/sun.security.pkcs11.wrapper.CK_MECHANISM.setParameter(CK_MECHANISM.java:167)
at jdk.crypto.cryptoki/sun.security.pkcs11.P11PSSSignature.ensureInitialized(P11PSSSignature.java:234)
at jdk.crypto.cryptoki/sun.security.pkcs11.P11PSSSignature.engineUpdate(P11PSSSignature.java:559)
at java.base/java.security.Signature$Delegate.engineUpdate(Signature.java:1393)
at java.base/java.security.Signature.update(Signature.java:902)
at java.base/java.security.Signature.update(Signature.java:871)
at SigInteropPSS2.runTest(SigInteropPSS2.java:82)
at SigInteropPSS2.main(SigInteropPSS2.java:71)
at PKCS11Test.premain(PKCS11Test.java:174)
at PKCS11Test.testNSS(PKCS11Test.java:550)
at PKCS11Test.main(PKCS11Test.java:210)
at SigInteropPSS2.main(SigInteropPSS2.java:48)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:577)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:833)
JavaTest Message: Test threw exception: java.lang.AssertionError
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.AssertionError
----------rerun:(37/7856)*----------
- backported by
-
JDK-8279320 two sun/security/pkcs11/Signature tests failed with AssertionError
- Resolved
-
JDK-8281464 two sun/security/pkcs11/Signature tests failed with AssertionError
- Resolved
-
JDK-8282262 two sun/security/pkcs11/Signature tests failed with AssertionError
- Resolved
- duplicates
-
JDK-8278120 jtreg test errors sun/security/pkcs11/Signature/SignatureTestPSS2.java and sun/security/pkcs11/Signature/SigInteropPSS2.java
- Closed
- links to
-
Commit openjdk/jdk17u-dev/3adb3dd2
-
Commit openjdk/jdk/669c90e2
-
Review openjdk/jdk17u-dev/30
-
Review openjdk/jdk/6656