RFR: 8342181: Update tests to use stronger Key and Salt size

Rajan Halade rhalade at openjdk.org
Thu Oct 17 18:27:45 UTC 2024


On Wed, 16 Oct 2024 12:34:32 GMT, Fernando Guallini <fguallini at openjdk.org> wrote:

> Several tests currently use weak key and salt sizes. Since the purpose of these tests is not to evaluate weak keys, they can be updated to use stronger keys length (2048-bits) and stronger Salt (16 bytes). This PR does not intend to update the tests to use stronger algorithms.
> 
> There is no significant increase in tests run time, those still complete consistently fast (few seconds).

Can key size and salt size be configurable somehow; either as system property or a constant? This will make it easier to modify in future without updating all these tests again.

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

PR Comment: https://git.openjdk.org/jdk/pull/21537#issuecomment-2420240402


More information about the security-dev mailing list