From 59c1750db1ed180436674a83d71a327f45abb3e1 Mon Sep 17 00:00:00 2001 From: rpatil Date: Sun, 4 Dec 2016 23:52:33 +0530 Subject: [PATCH] 8169688: Backout (remove) MD5 from jdk.jar.disabledAlgorithms for January CPU Reviewed-by: igerasim --- src/share/lib/security/java.security-aix | 2 +- src/share/lib/security/java.security-linux | 2 +- src/share/lib/security/java.security-macosx | 2 +- src/share/lib/security/java.security-solaris | 2 +- src/share/lib/security/java.security-windows | 2 +- test/sun/security/tools/jarsigner/TimestampCheck.java | 6 +++--- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/share/lib/security/java.security-aix b/src/share/lib/security/java.security-aix index 609644a69..8f9cf76ad 100644 --- a/src/share/lib/security/java.security-aix +++ b/src/share/lib/security/java.security-aix @@ -545,7 +545,7 @@ jdk.certpath.disabledAlgorithms=MD2, MD5, RSA keySize < 1024, \ # 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 diff --git a/src/share/lib/security/java.security-linux b/src/share/lib/security/java.security-linux index acef8f0b4..fb18f704c 100644 --- a/src/share/lib/security/java.security-linux +++ b/src/share/lib/security/java.security-linux @@ -545,7 +545,7 @@ jdk.certpath.disabledAlgorithms=MD2, MD5, RSA keySize < 1024, \ # 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 diff --git a/src/share/lib/security/java.security-macosx b/src/share/lib/security/java.security-macosx index 42aff370b..ef0267257 100644 --- a/src/share/lib/security/java.security-macosx +++ b/src/share/lib/security/java.security-macosx @@ -548,7 +548,7 @@ jdk.certpath.disabledAlgorithms=MD2, MD5, RSA keySize < 1024, \ # 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 diff --git a/src/share/lib/security/java.security-solaris b/src/share/lib/security/java.security-solaris index f4e58665a..537386c04 100644 --- a/src/share/lib/security/java.security-solaris +++ b/src/share/lib/security/java.security-solaris @@ -547,7 +547,7 @@ jdk.certpath.disabledAlgorithms=MD2, MD5, RSA keySize < 1024, \ # 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 diff --git a/src/share/lib/security/java.security-windows b/src/share/lib/security/java.security-windows index 8405da553..7bdda168e 100644 --- a/src/share/lib/security/java.security-windows +++ b/src/share/lib/security/java.security-windows @@ -548,7 +548,7 @@ jdk.certpath.disabledAlgorithms=MD2, MD5, RSA keySize < 1024, \ # 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 diff --git a/test/sun/security/tools/jarsigner/TimestampCheck.java b/test/sun/security/tools/jarsigner/TimestampCheck.java index 6e5125723..069dc79fc 100644 --- a/test/sun/security/tools/jarsigner/TimestampCheck.java +++ b/test/sun/security/tools/jarsigner/TimestampCheck.java @@ -60,7 +60,7 @@ import sun.security.x509.X500Name; /* * @test - * @bug 6543842 6543440 6939248 8009636 8024302 8163304 + * @bug 6543842 6543440 6939248 8009636 8024302 8163304 8169688 * @summary checking response of timestamp * @modules java.base/sun.security.pkcs * java.base/sun.security.timestamp @@ -345,8 +345,8 @@ public class TimestampCheck { .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"); -- GitLab