-
Bug
-
Resolution: Fixed
-
P3
-
8
-
b113
-
solaris
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8199335 | 7u201 | Valerie Peng | P3 | Resolved | Fixed | b01 |
JDK-8200688 | 7u191 | Prasadarao Koppula | P3 | Resolved | Fixed | b01 |
The test code is attached with the bug.
Stack trace on Cipher.wrap:
com.oracle.security.ucrypto.UcryptoException: Cannot initialize Cipher
at com.oracle.security.ucrypto.NativeCipher.ensureInitialized(NativeCipher.java:652)
at com.oracle.security.ucrypto.NativeCipher.update(NativeCipher.java:683)
at com.oracle.security.ucrypto.NativeCipher.engineDoFinal(NativeCipher.java:538)
at com.oracle.security.ucrypto.NativeCipher.engineDoFinal(NativeCipher.java:520)
at com.oracle.security.ucrypto.NativeCipher.engineWrap(NativeCipher.java:557)
at javax.crypto.Cipher.wrap(Cipher.java:2427)
at AEADKeyWrapperTest.execute(AEADKeyWrapperTest.java:70)
at AEADKeyWrapperTest.main(AEADKeyWrapperTest.java:46)
Stack trace on SealedObject.unseal:
com.oracle.security.ucrypto.UcryptoException: Cannot initialize Cipher
at com.oracle.security.ucrypto.NativeCipher.ensureInitialized(NativeCipher.java:652)
at com.oracle.security.ucrypto.NativeCipher.update(NativeCipher.java:683)
at com.oracle.security.ucrypto.NativeCipher.engineDoFinal(NativeCipher.java:538)
at com.oracle.security.ucrypto.NativeCipher.engineDoFinal(NativeCipher.java:520)
at javax.crypto.Cipher.doFinal(Cipher.java:2097)
at javax.crypto.SealedObject.unseal(SealedObject.java:425)
at javax.crypto.SealedObject.getObject(SealedObject.java:253)
at AEAD_SO_Test.execute(AEAD_SO_Test.java:102)
at AEAD_SO_Test.main(AEAD_SO_Test.java:44)
These failures are not observed on other platforms.
Stack trace on Cipher.wrap:
com.oracle.security.ucrypto.UcryptoException: Cannot initialize Cipher
at com.oracle.security.ucrypto.NativeCipher.ensureInitialized(NativeCipher.java:652)
at com.oracle.security.ucrypto.NativeCipher.update(NativeCipher.java:683)
at com.oracle.security.ucrypto.NativeCipher.engineDoFinal(NativeCipher.java:538)
at com.oracle.security.ucrypto.NativeCipher.engineDoFinal(NativeCipher.java:520)
at com.oracle.security.ucrypto.NativeCipher.engineWrap(NativeCipher.java:557)
at javax.crypto.Cipher.wrap(Cipher.java:2427)
at AEADKeyWrapperTest.execute(AEADKeyWrapperTest.java:70)
at AEADKeyWrapperTest.main(AEADKeyWrapperTest.java:46)
Stack trace on SealedObject.unseal:
com.oracle.security.ucrypto.UcryptoException: Cannot initialize Cipher
at com.oracle.security.ucrypto.NativeCipher.ensureInitialized(NativeCipher.java:652)
at com.oracle.security.ucrypto.NativeCipher.update(NativeCipher.java:683)
at com.oracle.security.ucrypto.NativeCipher.engineDoFinal(NativeCipher.java:538)
at com.oracle.security.ucrypto.NativeCipher.engineDoFinal(NativeCipher.java:520)
at javax.crypto.Cipher.doFinal(Cipher.java:2097)
at javax.crypto.SealedObject.unseal(SealedObject.java:425)
at javax.crypto.SealedObject.getObject(SealedObject.java:253)
at AEAD_SO_Test.execute(AEAD_SO_Test.java:102)
at AEAD_SO_Test.main(AEAD_SO_Test.java:44)
These failures are not observed on other platforms.
- backported by
-
JDK-8199335 Cannot initialize "AES/GCM/NoPadding" on wrap/unseal on solaris with OracleUcrypto
- Resolved
-
JDK-8200688 Cannot initialize "AES/GCM/NoPadding" on wrap/unseal on solaris with OracleUcrypto
- Resolved