RFR [16] [JDK-8248745] Add jarsigner and keytool tests for restricted algorithms
abdul.kolarkunnu at oracle.com
abdul.kolarkunnu at oracle.com
Mon Jul 27 16:15:09 UTC 2020
Hi All,
This is a new test int the area of jarsigner and keytool for the
restricted/disabled algorithms.
Bug Id - https://bugs.openjdk.java.net/browse/JDK-8248745
Webrev - http://cr.openjdk.java.net/~akolarkunnu/8248745/webrev.00/
Description:
Adding a test for key generation, jar signing and verification with all
disabled algorithms and key sizes which are in the property
jdk.jar.disabledAlgorithms.
Covered the scenario of with and without these disabled entries in
jdk.jar.disabledAlgorithms.
Whenever the entries are in the property jdk.jar.disabledAlgorithms,
corresponding warning or error message should shown, otherwise
everything should work fine without any related error or warning.
This test covers all entries listed in "jdk.jar.disabledAlgorithms=MD2,
MD5, RSA keySize < 1024, DSA keySize < 1024, include
jdk.disabled.namedCurves". In case of disabled curves, this test covers
only one curve secp112r1.
Tested in Linux, Windows and Mac Osx platforms and all are working fine.
-Muneer
More information about the security-dev
mailing list