RFR: 8342183: Update tests to use stronger algorithms and keys

Fernando Guallini fguallini at openjdk.org
Tue Oct 29 09:54:44 UTC 2024


Several tests are identified to use weak/legacy algorithms. As these tests purpose is not to exercise weak algorithms, these are updated in this PR to use stronger algorithms. If the test uses a weak key, it is updated as well.

-------------

Commit messages:
 - Merge branch 'master' into 8342183
 - added changes in SecurityUtils.java and security/DiffieHellmanGroup.java
 - refactor SupportedDHParamGens.java
 - fixed SupportedDHParamGensLongKey.java
 - Updated keysizes to use SecurityUtils in KeyToolTest
 - Updated keysizes to use SecurityUtils
 - removed provider
 - SupportedDHParamGens
 - dd algorithms to tests
 - updated DHKeyAgreement2 test to use AES
 - ... and 2 more: https://git.openjdk.org/jdk/compare/94317dbc...c54acca6

Changes: https://git.openjdk.org/jdk/pull/21578/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=21578&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8342183
  Stats: 348 lines in 36 files changed: 216 ins; 2 del; 130 mod
  Patch: https://git.openjdk.org/jdk/pull/21578.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/21578/head:pull/21578

PR: https://git.openjdk.org/jdk/pull/21578


More information about the security-dev mailing list