changeset 12071:0cb423d5df20

8169688: Backout (remove) MD5 from jdk.jar.disabledAlgorithms for January CPU Reviewed-by: igerasim
author rpatil
date Mon, 05 Dec 2016 10:07:47 -0800
parents 31dae74ad077
children 9561afc12df8
files src/share/lib/security/java.security-aix src/share/lib/security/java.security-linux src/share/lib/security/java.security-macosx src/share/lib/security/java.security-solaris src/share/lib/security/java.security-windows test/sun/security/tools/jarsigner/TimestampCheck.java
diffstat 6 files changed, 8 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/lib/security/java.security-aix	Wed Nov 23 11:42:01 2016 +0300
+++ b/src/share/lib/security/java.security-aix	Mon Dec 05 10:07:47 2016 -0800
@@ -545,7 +545,7 @@
 # implementation. It is not guaranteed to be examined and used by other
 # implementations.
 #
-jdk.jar.disabledAlgorithms=MD2, MD5, RSA keySize < 1024
+jdk.jar.disabledAlgorithms=MD2, RSA keySize < 1024
 
 # Algorithm restrictions for Secure Socket Layer/Transport Layer Security
 # (SSL/TLS) processing
--- a/src/share/lib/security/java.security-linux	Wed Nov 23 11:42:01 2016 +0300
+++ b/src/share/lib/security/java.security-linux	Mon Dec 05 10:07:47 2016 -0800
@@ -545,7 +545,7 @@
 # implementation. It is not guaranteed to be examined and used by other
 # implementations.
 #
-jdk.jar.disabledAlgorithms=MD2, MD5, RSA keySize < 1024
+jdk.jar.disabledAlgorithms=MD2, RSA keySize < 1024
 
 # Algorithm restrictions for Secure Socket Layer/Transport Layer Security
 # (SSL/TLS) processing
--- a/src/share/lib/security/java.security-macosx	Wed Nov 23 11:42:01 2016 +0300
+++ b/src/share/lib/security/java.security-macosx	Mon Dec 05 10:07:47 2016 -0800
@@ -548,7 +548,7 @@
 # implementation. It is not guaranteed to be examined and used by other
 # implementations.
 #
-jdk.jar.disabledAlgorithms=MD2, MD5, RSA keySize < 1024
+jdk.jar.disabledAlgorithms=MD2, RSA keySize < 1024
 
 # Algorithm restrictions for Secure Socket Layer/Transport Layer Security
 # (SSL/TLS) processing
--- a/src/share/lib/security/java.security-solaris	Wed Nov 23 11:42:01 2016 +0300
+++ b/src/share/lib/security/java.security-solaris	Mon Dec 05 10:07:47 2016 -0800
@@ -547,7 +547,7 @@
 # implementation. It is not guaranteed to be examined and used by other
 # implementations.
 #
-jdk.jar.disabledAlgorithms=MD2, MD5, RSA keySize < 1024
+jdk.jar.disabledAlgorithms=MD2, RSA keySize < 1024
 
 # Algorithm restrictions for Secure Socket Layer/Transport Layer Security
 # (SSL/TLS) processing
--- a/src/share/lib/security/java.security-windows	Wed Nov 23 11:42:01 2016 +0300
+++ b/src/share/lib/security/java.security-windows	Mon Dec 05 10:07:47 2016 -0800
@@ -548,7 +548,7 @@
 # implementation. It is not guaranteed to be examined and used by other
 # implementations.
 #
-jdk.jar.disabledAlgorithms=MD2, MD5, RSA keySize < 1024
+jdk.jar.disabledAlgorithms=MD2, RSA keySize < 1024
 
 # Algorithm restrictions for Secure Socket Layer/Transport Layer Security
 # (SSL/TLS) processing
--- a/test/sun/security/tools/jarsigner/TimestampCheck.java	Wed Nov 23 11:42:01 2016 +0300
+++ b/test/sun/security/tools/jarsigner/TimestampCheck.java	Mon Dec 05 10:07:47 2016 -0800
@@ -60,7 +60,7 @@
 
 /*
  * @test
- * @bug 6543842 6543440 6939248 8009636 8024302 8163304 8169911
+ * @bug 6543842 6543440 6939248 8009636 8024302 8163304 8169911 8169688
  * @summary checking response of timestamp
  * @modules java.base/sun.security.pkcs
  *          java.base/sun.security.timestamp
@@ -345,8 +345,8 @@
                         .shouldHaveExitValue(0);
                 checkTimestamp("tsaalg.jar", defaultPolicyId, "SHA-1");
 
-                sign("weak", "-digestalg", "MD5",
-                                "-sigalg", "MD5withRSA", "-tsadigestalg", "MD5")
+                sign("weak", "-digestalg", "MD2",
+                                "-sigalg", "MD2withRSA", "-tsadigestalg", "MD2")
                         .shouldHaveExitValue(0);
                 checkWeak("weak.jar");