-
Bug
-
Resolution: Fixed
-
P4
-
unknown
-
1.2.1ea
-
sparc
-
solaris_7
PBEWithMD5AndDES/CBC/PKCS5Padding won't work under Global policy, Instead the following exception is threw ----
Testing: pbeWithMD5ANDdes
java.security.InvalidKeyException
at com.sun.crypto.provider.PBEWithMD5AndDESCipher.engineGetKeySize([DashoPro-V1.2-120198], Compiled Code)
at javax.crypto.Cipher.init([DashoPro-V1.2-120198], Compiled Code)
at TestCipherPBEFunc.runTest(TestCipherPBEFunc.java, Compiled Code)
at TestCipherPBEFunc.run(TestCipherPBEFunc.java, Compiled Code)
at TestCipherPBEFunc.main(TestCipherPBEFunc.java, Compiled Code)
Testing: PBEWithMD5AndDES/CBC/PKCS5Padding
java.security.InvalidKeyException
at com.sun.crypto.provider.PBEWithMD5AndDESCipher.engineGetKeySize([DashoPro-V1.2-120198], Compiled Code)
at javax.crypto.Cipher.init([DashoPro-V1.2-120198], Compiled Code)
at TestCipherPBEFunc.runTest(TestCipherPBEFunc.java, Compiled Code)
at TestCipherPBEFunc.run(TestCipherPBEFunc.java, Compiled Code)
at TestCipherPBEFunc.main(TestCipherPBEFunc.java, Compiled Code)
Testing: pbeWithMD5ANDdes
java.security.InvalidKeyException
at com.sun.crypto.provider.PBEWithMD5AndDESCipher.engineGetKeySize([DashoPro-V1.2-120198], Compiled Code)
at javax.crypto.Cipher.init([DashoPro-V1.2-120198], Compiled Code)
at TestCipherPBEFunc.runTest(TestCipherPBEFunc.java, Compiled Code)
at TestCipherPBEFunc.run(TestCipherPBEFunc.java, Compiled Code)
at TestCipherPBEFunc.main(TestCipherPBEFunc.java, Compiled Code)
Testing: PBEWithMD5AndDES/CBC/PKCS5Padding
java.security.InvalidKeyException
at com.sun.crypto.provider.PBEWithMD5AndDESCipher.engineGetKeySize([DashoPro-V1.2-120198], Compiled Code)
at javax.crypto.Cipher.init([DashoPro-V1.2-120198], Compiled Code)
at TestCipherPBEFunc.runTest(TestCipherPBEFunc.java, Compiled Code)
at TestCipherPBEFunc.run(TestCipherPBEFunc.java, Compiled Code)
at TestCipherPBEFunc.main(TestCipherPBEFunc.java, Compiled Code)
- relates to
-
JDK-4296885 Null Cipher won't work under global policy file
- Resolved
-
JDK-4294630 DES algorithm won't work properly under Global policy
- Closed
-
JDK-4296875 JCE didn't enforce maxKeySize
- Resolved