[jdk8u-dev] RFR: 8263404: RsaPrivateKeySpec is always recognized as RSAPrivateCrtKeySpec in RSAKeyFactory.engineGetKeySpec [v3]

Paul Hohensee phh at openjdk.org
Thu Apr 13 15:45:30 UTC 2023


> The backport from 11u was not clean because:
> 
> 1. the change to PKCS11Test.java affects code that does not exist in 8u, so is not included
> 2. the new test, TestP11KeyFactoryGetRSAKeySpec.java, uses /lib/testlibrary instead of /test/lib
> 
> The new test and the modified existing tests pass, and the jdk/test/sun/security/pkcs11 tests pass as well as they did before this change.

Paul Hohensee has updated the pull request incrementally with one additional commit since the last revision:

  Add SHA3 mechanism back to p11-nss-sensitive.txt, remove @modules from TestP11KeyFactoryGetRSAKeySpec.java

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

Changes:
  - all: https://git.openjdk.org/jdk8u-dev/pull/302/files
  - new: https://git.openjdk.org/jdk8u-dev/pull/302/files/d12508f8..5df0d7d0

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk8u-dev&pr=302&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk8u-dev&pr=302&range=01-02

  Stats: 9 lines in 2 files changed: 8 ins; 1 del; 0 mod
  Patch: https://git.openjdk.org/jdk8u-dev/pull/302.diff
  Fetch: git fetch https://git.openjdk.org/jdk8u-dev.git pull/302/head:pull/302

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


More information about the jdk8u-dev mailing list