[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-security-dev
Subject:    Integrated: 6227536: KeyGenerator.init() methods do not throw IllegalArgumentException for keysize =
From:       Kevin Driver <kdriver () openjdk ! org>
Date:       2022-07-29 20:33:04
Message-ID: vqW6WVOMcS4EWdKlYE2UR_3f7u_yD3CbjUpcZVSLWcs=.8872f76d-46ff-40be-ab2f-0e6fd08b47d2 () github ! com
[Download RAW message or body]

On Thu, 28 Jul 2022 17:32:57 GMT, Kevin Driver <kdriver@openjdk.org> wrote:

> As mentioned in the bug report, this issue *should not* be a framework-level issue, \
> since potentially an individual provider could create a keysize of zero to have a \
> certain significance.  
> In the changes made here for `HmacMD5`- and `HmacSHA1`- `KeyGenerator`s, the check \
> is for `keysize <= 0` and this message indicates this is a check characteristic to \
> the `SunJCE` provider.

This pull request has now been integrated.

Changeset: 0bcf1767
Author:    Kevin Driver <kdriver@openjdk.org>
Committer: Bradford Wetmore <wetmore@openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/0bcf17674e1c8c07ede3aef6449e0631e526ba86
                
Stats:     76 lines in 3 files changed: 74 ins; 0 del; 2 mod

6227536: KeyGenerator.init() methods do not throw IllegalArgumentException for \
keysize == 0

Reviewed-by: wetmore

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

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic