[jdk8u-dev] Integrated: 8232950: SUNPKCS11 Provider incorrectly check key length for PSS Signatures.

zzambers duke at openjdk.org
Wed Aug 24 17:48:37 UTC 2022


On Mon, 22 Aug 2022 19:06:23 GMT, zzambers <duke at openjdk.org> wrote:

> This is backport of JDK-8183107 [1]. When dealt with different paths on jdk8, patch extracted from jdk project applied cleanly.
> 
> git apply -p3 --dir=jdk/src 0001-8232950-SUNPKCS11-Provider-incorrectly-check-key-len.patch
> 
> Tested locally, no regressions in jdk_security tests.
> 
> [1] https://bugs.openjdk.org/browse/JDK-8232950

This pull request has now been integrated.

Changeset: e3251a22
Author:    Zdenek Zambersky <zzambers at redhat.com>
Committer: Andrew John Hughes <andrew at openjdk.org>
URL:       https://git.openjdk.org/jdk8u-dev/commit/e3251a2293f2eeb286e3075269b1d132acae22bf
Stats:     10 lines in 1 file changed: 3 ins; 3 del; 4 mod

8232950: SUNPKCS11 Provider incorrectly check key length for PSS Signatures.

Fixed to treat the queried key size values as bits instead of bytes

Reviewed-by: andrew
Backport-of: f14e3a60b26f0488da26abf3ae6c0521d5f616e5

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

PR: https://git.openjdk.org/jdk8u-dev/pull/109


More information about the jdk8u-dev mailing list