changeset 3250:86ea594c1d10

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
author valeriep
date Mon, 15 Nov 2010 14:32:49 -0800
parents 23ccf9a8451f
children cb10e1177801
files src/share/lib/security/sunpkcs11-solaris.cfg
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/lib/security/sunpkcs11-solaris.cfg	Mon Nov 15 09:42:39 2010 -0800
+++ b/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
 }