-
Bug
-
Resolution: Fixed
-
P3
-
7, 8, 11
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8309887 | 17.0.9-oracle | Nibedita Jena | P3 | Resolved | Fixed | b01 |
JDK-8310281 | 17.0.9 | Goetz Lindenmaier | P3 | Resolved | Fixed | b01 |
JDK-8309888 | 11.0.21-oracle | Nibedita Jena | P3 | Resolved | Fixed | b01 |
JDK-8311270 | 11.0.21 | Goetz Lindenmaier | P3 | Resolved | Fixed | b01 |
JDK-8314487 | 8u401 | Nibedita Jena | P3 | Resolved | Fixed | b01 |
nssLibDir: /scratch/mesos/jib-master/install/jpg/tests/jdk/nsslib/nsslib-macosx_x64/3.35/nsslib-macosx_x64-3.35.zip/nsslib/
Running test with provider SunPKCS11-nss (security manager disabled) ...
softkey> javax.crypto.spec.SecretKeySpec@fffe8ae6
ALGO=AES
[RAW] VALUE=c68c8358f7e7bfab80a9e0d382f76326
skey1> SunPKCS11-nss DESede secret key, 168 bits (id 1, session object, not sensitive, extractable)
ALGO=DESede
[RAW] VALUE=4a46a2f26ea8b392910bf7730440798cec540d891ace194f
skey2> SunPKCS11-nss DESede secret key, 168 bits (id 2, session object, not sensitive, extractable)
ALGO=DESede
[RAW] VALUE=043e1c7cb6cb6275238fc8295b7cb3e373670134eff45d1c
nssLibDir: /scratch/mesos/jib-master/install/jpg/tests/jdk/nsslib/nsslib-macosx_x64/3.35/nsslib-macosx_x64-3.35.zip/nsslib/
libsoftokn3 version = 3.35. ECC Basic.
nssLibDir: /scratch/mesos/jib-master/install/jpg/tests/jdk/nsslib/nsslib-macosx_x64/3.35/nsslib-macosx_x64-3.35.zip/nsslib/
libnss3 version = 3.35. ECC None.
Number of entries: 0
Test against nss Failed!
----------System.err:(15/983)----------
Exception in thread "main" java.security.ProviderException: sun.security.pkcs11.wrapper.PKCS11Exception: CKR_ATTRIBUTE_SENSITIVE
at jdk.crypto.cryptoki/sun.security.pkcs11.P11Key$P11SecretKey.getEncodedInternal(P11Key.java:447)
at jdk.crypto.cryptoki/sun.security.pkcs11.P11Key.getEncoded(P11Key.java:137)
at SecretKeysBasic.checkSecretKeyEntry(SecretKeysBasic.java:120)
at SecretKeysBasic.doTest(SecretKeysBasic.java:169)
at SecretKeysBasic.main(SecretKeysBasic.java:83)
at PKCS11Test.premain(PKCS11Test.java:179)
at PKCS11Test.testNSS(PKCS11Test.java:558)
at PKCS11Test.main(PKCS11Test.java:215)
at PKCS11Test.main(PKCS11Test.java:191)
at SecretKeysBasic.main(SecretKeysBasic.java:46)
Caused by: sun.security.pkcs11.wrapper.PKCS11Exception: CKR_ATTRIBUTE_SENSITIVE
at jdk.crypto.cryptoki/sun.security.pkcs11.wrapper.PKCS11.C_GetAttributeValue(Native Method)
at jdk.crypto.cryptoki/sun.security.pkcs11.P11Key$P11SecretKey.getEncodedInternal(P11Key.java:444)
... 9 more
- backported by
-
JDK-8309887 sun/security/pkcs11/KeyStore/SecretKeysBasic.sh failed with "PKCS11Exception: CKR_ATTRIBUTE_SENSITIVE"
- Resolved
-
JDK-8309888 sun/security/pkcs11/KeyStore/SecretKeysBasic.sh failed with "PKCS11Exception: CKR_ATTRIBUTE_SENSITIVE"
- Resolved
-
JDK-8310281 sun/security/pkcs11/KeyStore/SecretKeysBasic.sh failed with "PKCS11Exception: CKR_ATTRIBUTE_SENSITIVE"
- Resolved
-
JDK-8311270 sun/security/pkcs11/KeyStore/SecretKeysBasic.sh failed with "PKCS11Exception: CKR_ATTRIBUTE_SENSITIVE"
- Resolved
-
JDK-8314487 sun/security/pkcs11/KeyStore/SecretKeysBasic.sh failed with "PKCS11Exception: CKR_ATTRIBUTE_SENSITIVE"
- Resolved
- relates to
-
JDK-8180837 SunPKCS11-NSS tests failing with CKR_ATTRIBUTE_READ_ONLY and CKR_MECHANISM_PARAM_INVALID
- Resolved
- links to
-
Commit openjdk/jdk11u-dev/985c7a10
-
Commit openjdk/jdk17u-dev/75a911ce
-
Commit openjdk/jdk/d64820df
-
Review openjdk/jdk8u-dev/462
-
Review openjdk/jdk11u-dev/2007
-
Review openjdk/jdk17u-dev/1454
-
Review openjdk/jdk/6837