Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

8263404: RsaPrivateKeySpec is always recognized as RSAPrivateCrtKeySpec in RSAKeyFactory.engineGetKeySpec #214

Closed
wants to merge 2 commits into from

Conversation

phohensee
Copy link
Member

@phohensee phohensee commented Dec 16, 2022

Backport for Oracle parity from 11u is almost clean.

  1. PKCS11Test.java is unchanged because 8u does not throw a RuntimeException for an unknown command.
  2. In TestP11KeyFactoryGetRSAKeySpec.java, /test/lib is unneeded in the @library comment, and the @module comment was deleted.

Progress

  • Change must be properly reviewed (1 review required, with at least 1 Reviewer)
  • Change must not contain extraneous whitespace
  • Commit message must refer to an issue

Issue

  • JDK-8263404: RsaPrivateKeySpec is always recognized as RSAPrivateCrtKeySpec in RSAKeyFactory.engineGetKeySpec

Reviewing

Using git

Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk8u-dev.git pull/214/head:pull/214
$ git checkout pull/214

Update a local copy of the PR:
$ git checkout pull/214
$ git pull https://git.openjdk.org/jdk8u-dev.git pull/214/head

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 214

View PR using the GUI difftool:
$ git pr show -t 214

Using diff file

Download this PR as a diff file:
https://git.openjdk.org/jdk8u-dev/pull/214.diff

Webrev

Link to Webrev Comment

@bridgekeeper
Copy link

bridgekeeper bot commented Dec 16, 2022

👋 Welcome back phh! A progress list of the required criteria for merging this PR into pr/211 will be added to the body of your pull request. There are additional pull request commands available for use with this pull request.

@openjdk openjdk bot changed the title Backport a5d7de235101696463dba22792703c6809ff7fc4 8263404: RsaPrivateKeySpec is always recognized as RSAPrivateCrtKeySpec in RSAKeyFactory.engineGetKeySpec Dec 16, 2022
@openjdk
Copy link

openjdk bot commented Dec 16, 2022

This backport pull request has now been updated with issue from the original commit.

@openjdk openjdk bot added backport rfr Pull request is ready for review labels Dec 16, 2022
@mlbridge
Copy link

mlbridge bot commented Dec 16, 2022

Webrevs

@openjdk-notifier
Copy link

The parent pull request that this pull request depends on has now been integrated and the target branch of this pull request has been updated. This means that changes from the dependent pull request can start to show up as belonging to this pull request, which may be confusing for reviewers. To remedy this situation, simply merge the latest changes from the new target branch into this pull request by running commands similar to these in the local repository for your personal fork:

git checkout backport-a5d7de23
git fetch https://git.openjdk.org/jdk8u-dev master
git merge FETCH_HEAD
# if there are conflicts, follow the instructions given by git merge
git commit -m "Merge master"
git push

Copy link
Member

@gnu-andrew gnu-andrew left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes mostly look ok, but will need a rebase before push.

Is there a reason the *_SHA3_* definitions have been removed from p11-nss-sensitive.txt? Those should be defined, having been added by JDK-8244154

@bridgekeeper
Copy link

bridgekeeper bot commented Jan 17, 2023

@phohensee This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply add a new comment to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration!

@bridgekeeper
Copy link

bridgekeeper bot commented Feb 14, 2023

@phohensee This pull request has been inactive for more than 8 weeks and will now be automatically closed. If you would like to continue working on this pull request in the future, feel free to reopen it! This can be done using the /open pull request command.

@bridgekeeper bridgekeeper bot closed this Feb 14, 2023
@mrserb
Copy link
Member

mrserb commented Apr 12, 2023

@gnu-andrew @phohensee this fix should be merged into the upcoming openjdk8u382

@phohensee
Copy link
Member Author

/open

@openjdk openjdk bot reopened this Apr 12, 2023
@openjdk
Copy link

openjdk bot commented Apr 12, 2023

@phohensee This pull request is now open

@mrserb
Copy link
Member

mrserb commented Apr 12, 2023

this PR is for /8u-dev, we probably need to recreate it for /8u

@phohensee
Copy link
Member Author

This PR was incorrectly based on the original JDK 17 commit rather than the 11u backport. Closing.

@phohensee phohensee closed this Apr 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport rfr Pull request is ready for review
3 participants