-
Bug
-
Resolution: Fixed
-
P3
-
17, 20, 21, 22
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8321692 | 21.0.3-oracle | Ramesh Gangadhar | P3 | Resolved | Fixed | b01 |
JDK-8322777 | 21.0.3 | Goetz Lindenmaier | P3 | Resolved | Fixed | b01 |
JDK-8323817 | 17.0.11-oracle | Ramesh Gangadhar | P3 | Resolved | Fixed | b02 |
JDK-8324488 | 17.0.11 | Goetz Lindenmaier | P3 | Resolved | Fixed | b01 |
sun/security/pkcs11/Signature/KeyAndParamCheckForPSS.java
sun/security/pkcs11/MessageDigest/TestCloning.java
Running test in Ubuntu mantic:
...
Testing [1024 SHA3-256]
test#1: got expected IKE
java.security.InvalidKeyException: java.security.ProviderException: Initialization failed
at jdk.crypto.cryptoki/sun.security.pkcs11.P11PSSSignature.engineInitSign(P11PSSSignature.java:547)
at java.base/java.security.Signature$Delegate.engineInitSign(Signature.java:1357)
at java.base/java.security.Signature.initSign(Signature.java:636)
at KeyAndParamCheckForPSS.runTest(KeyAndParamCheckForPSS.java:121)
at KeyAndParamCheckForPSS.main(KeyAndParamCheckForPSS.java:70)
at PKCS11Test.premain(PKCS11Test.java:178)
at PKCS11Test.testNSS(PKCS11Test.java:554)
at PKCS11Test.main(PKCS11Test.java:214)
at KeyAndParamCheckForPSS.main(KeyAndParamCheckForPSS.java:45)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:312)
at java.base/java.lang.Thread.run(Thread.java:1570)
Caused by: java.security.ProviderException: Initialization failed
at jdk.crypto.cryptoki/sun.security.pkcs11.P11PSSSignature.initialize(P11PSSSignature.java:344)
at jdk.crypto.cryptoki/sun.security.pkcs11.P11PSSSignature.engineInitSign(P11PSSSignature.java:545)
... 12 more
Caused by: sun.security.pkcs11.wrapper.PKCS11Exception: CKR_MECHANISM_PARAM_INVALID
at jdk.crypto.cryptoki/sun.security.pkcs11.wrapper.PKCS11.C_SignInit(Native Method)
at jdk.crypto.cryptoki/sun.security.pkcs11.P11PSSSignature.initialize(P11PSSSignature.java:337)
... 13 more
- backported by
-
JDK-8321692 PKCS11 tests fail with NSS 3.91
- Resolved
-
JDK-8322777 PKCS11 tests fail with NSS 3.91
- Resolved
-
JDK-8323817 PKCS11 tests fail with NSS 3.91
- Resolved
-
JDK-8324488 PKCS11 tests fail with NSS 3.91
- Resolved
- duplicates
-
JDK-8312426 sun/security/pkcs11/MessageDigest/TestCloning.java fails with NSS 3.91
- Closed
-
JDK-8312429 sun/security/pkcs11/Signature/SignatureTestPSS.java fails with NSS 3.91
- Closed
- links to
-
Commit openjdk/jdk17u-dev/b4f1deb5
-
Commit openjdk/jdk21u-dev/8517987a
-
Commit openjdk/jdk/1c598c22
-
Review openjdk/jdk17u-dev/2145
-
Review openjdk/jdk21u-dev/100
-
Review openjdk/jdk/15217