Integrated: 8312428: PKCS11 tests fail with NSS 3.91
Valerie Peng
valeriep at openjdk.org
Tue Aug 29 22:11:20 UTC 2023
On Thu, 10 Aug 2023 00:56:56 GMT, Valerie Peng <valeriep at openjdk.org> wrote:
> Starting NSS v3.91, SHA-3 support is added for MessageDigest but not for PSS Signature. This breaks existing test assumptions made by PSS regression tests. In addition, the NSS SHA-3 message digests do not support cloning which causes the failure of TestCloning.java.
>
> This PR adds a PSSUtil.java class which provides utility method for detecting/guessing whether a digest algorithm is valid for PSS signature or not.
>
> The changes are verified with NSS v3.46, v3.57 and v3.91 (on local Linux machine).
>
> Thanks in advance for review~
This pull request has now been integrated.
Changeset: 1c598c22
Author: Valerie Peng <valeriep at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/1c598c2245c5c348e946f4d0df653daa6e42da94
Stats: 268 lines in 4 files changed: 153 ins; 60 del; 55 mod
8312428: PKCS11 tests fail with NSS 3.91
Reviewed-by: ssahoo, rhalade
-------------
PR: https://git.openjdk.org/jdk/pull/15217
More information about the security-dev
mailing list