Mercurial > hg > icedtea7-forest > jdk
changeset 9175:797914a333ca
8171121: Enhancing jar checking
Reviewed-by: ascarpino
author | rpatil |
---|---|
date | Mon, 26 Dec 2016 16:00:45 +0530 |
parents | 7ce6f30c4fbd |
children | 82dac06ce388 |
files | 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 | 5 files changed, 7 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/src/share/lib/security/java.security-linux Tue Jan 17 15:35:57 2017 +0300 +++ b/src/share/lib/security/java.security-linux Mon Dec 26 16:00:45 2016 +0530 @@ -469,7 +469,7 @@ # implementation. It is not guaranteed to be examined and used by other # implementations. # -jdk.jar.disabledAlgorithms=MD2, RSA keySize < 1024 +jdk.jar.disabledAlgorithms=MD2, MD5, RSA keySize < 1024 # Algorithm restrictions for Secure Socket Layer/Transport Layer Security # (SSL/TLS) processing
--- a/src/share/lib/security/java.security-macosx Tue Jan 17 15:35:57 2017 +0300 +++ b/src/share/lib/security/java.security-macosx Mon Dec 26 16:00:45 2016 +0530 @@ -474,7 +474,7 @@ # implementation. It is not guaranteed to be examined and used by other # implementations. # -jdk.jar.disabledAlgorithms=MD2, RSA keySize < 1024 +jdk.jar.disabledAlgorithms=MD2, MD5, RSA keySize < 1024 # Algorithm restrictions for Secure Socket Layer/Transport Layer Security # (SSL/TLS) processing
--- a/src/share/lib/security/java.security-solaris Tue Jan 17 15:35:57 2017 +0300 +++ b/src/share/lib/security/java.security-solaris Mon Dec 26 16:00:45 2016 +0530 @@ -473,7 +473,7 @@ # implementation. It is not guaranteed to be examined and used by other # implementations. # -jdk.jar.disabledAlgorithms=MD2, RSA keySize < 1024 +jdk.jar.disabledAlgorithms=MD2, MD5, RSA keySize < 1024 # Algorithm restrictions for Secure Socket Layer/Transport Layer Security # (SSL/TLS) processing
--- a/src/share/lib/security/java.security-windows Tue Jan 17 15:35:57 2017 +0300 +++ b/src/share/lib/security/java.security-windows Mon Dec 26 16:00:45 2016 +0530 @@ -474,7 +474,7 @@ # implementation. It is not guaranteed to be examined and used by other # implementations. # -jdk.jar.disabledAlgorithms=MD2, RSA keySize < 1024 +jdk.jar.disabledAlgorithms=MD2, MD5, RSA keySize < 1024 # Algorithm restrictions for Secure Socket Layer/Transport Layer Security # (SSL/TLS) processing
--- a/test/sun/security/tools/jarsigner/TimestampCheck.java Tue Jan 17 15:35:57 2017 +0300 +++ b/test/sun/security/tools/jarsigner/TimestampCheck.java Mon Dec 26 16:00:45 2016 +0530 @@ -60,7 +60,7 @@ /* * @test - * @bug 6543842 6543440 6939248 8009636 8024302 8163304 8169911 8169688 + * @bug 6543842 6543440 6939248 8009636 8024302 8163304 8169911 8169688 8171121 * @summary checking response of timestamp * @modules java.base/sun.security.pkcs * java.base/sun.security.timestamp @@ -348,8 +348,8 @@ .shouldHaveExitValue(0); checkTimestamp("tsaalg.jar", defaultPolicyId, "SHA-1"); - sign("weak", "-digestalg", "MD2", - "-sigalg", "MD2withRSA", "-tsadigestalg", "MD2") + sign("weak", "-digestalg", "MD5", + "-sigalg", "MD5withRSA", "-tsadigestalg", "MD5") .shouldHaveExitValue(0); checkWeak("weak.jar");