On Mon, 17 Aug 2026 14:26:29 GMT, Mark Powers <[email protected]> wrote:

> https://bugs.openjdk.org/browse/JDK-8370245
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

test/jdk/sun/security/pkcs12/ParamsPreferences.java line 1:

> 1: /*

Should you add some tests where the "keystore.pkcs12.macAlgorithm" is set to 
PBEWithHmacSHA256?

test/jdk/sun/security/pkcs12/ParamsPreferences.java line 119:

> 117:                 PBES2, HmacSHA256, AES_256$CBC$NoPadding, 10000,
> 118:                 PBES2, HmacSHA256, AES_256$CBC$NoPadding, 10000,
> 119:                 PBMAC1, 10000);

Interesting - so even though "keystore.pkcs12.macAlgorithm" is set to "NONE", 
you still check for PBMAC1?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/32398#discussion_r3805395689
PR Review Comment: https://git.openjdk.org/jdk/pull/32398#discussion_r3805412760

Reply via email to