6848930: JSN security test jce/Global/Cipher/PKCS5Padding cannot thrown expected BadPaddingException
authorvaleriep
Mon, 15 Nov 2010 14:32:49 -0800
changeset 7268 4e3088f05c63
parent 7190 2bd7f94e734d
child 7269 b7fe0ebc290c
6848930: JSN security test jce/Global/Cipher/PKCS5Padding cannot thrown expected BadPaddingException Summary: Disabled CKM_DES_CBC_PAD, CKM_DES3_CBC_PAD, CKM_AES_CBC_PAD mechs by default and use our own internal padding impl. Reviewed-by: wetmore
jdk/src/share/lib/security/sunpkcs11-solaris.cfg
--- a/jdk/src/share/lib/security/sunpkcs11-solaris.cfg	Mon Nov 15 09:42:39 2010 -0800
+++ b/jdk/src/share/lib/security/sunpkcs11-solaris.cfg	Mon Nov 15 14:32:49 2010 -0800
@@ -31,5 +31,9 @@
   CKM_SHA256_RSA_PKCS
   CKM_SHA384_RSA_PKCS
   CKM_SHA512_RSA_PKCS
+# the following mechanisms are disabled to ensure backward compatibility (Solaris bug 6545046)
+  CKM_DES_CBC_PAD
+  CKM_DES3_CBC_PAD
+  CKM_AES_CBC_PAD
 }