Skip to content

8358159: Empty mode/padding in cipher transformations #1867

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

varada1110
Copy link

@varada1110 varada1110 commented Jun 11, 2025

Hi all,

This pull request contains a backport of commit 3ff83ec4 from the openjdk/jdk repository.

The commit being backported was authored by Varada M on 10 Jun 2025 and was reviewed by Amit Kumar and Valerie Peng.

Thanks!


Progress

  • Change must not contain extraneous whitespace
  • Commit message must refer to an issue
  • JDK-8358159 needs maintainer approval

Issue

  • JDK-8358159: Empty mode/padding in cipher transformations (Bug - P4)

Reviewing

Using git

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

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

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 1867

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

Using diff file

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

Using Webrev

Link to Webrev Comment

@bridgekeeper
Copy link

bridgekeeper bot commented Jun 11, 2025

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

@openjdk
Copy link

openjdk bot commented Jun 11, 2025

❗ This change is not yet ready to be integrated.
See the Progress checklist in the description for automated requirements.

@openjdk openjdk bot changed the title Backport 3ff83ec49e561c44dd99508364b8ba068274b63a 8358159: Empty mode/padding in cipher transformations Jun 11, 2025
@openjdk
Copy link

openjdk bot commented Jun 11, 2025

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

@openjdk
Copy link

openjdk bot commented Jun 11, 2025

⚠️ @varada1110 This change is now ready for you to apply for maintainer approval. This can be done directly in each associated issue or by using the /approval command.

@openjdk openjdk bot added the rfr Pull request is ready for review label Jun 11, 2025
@mlbridge
Copy link

mlbridge bot commented Jun 11, 2025

Webrevs

@varada1110
Copy link
Author

/approval 8358159 request the backport fixes the cipher transformations with empty mode or padding which no longer default to expected values. JTREG testing successful.

@openjdk
Copy link

openjdk bot commented Jun 11, 2025

@varada1110
8358159: The approval request has been created successfully.

@openjdk openjdk bot added the approval label Jun 11, 2025
@GoeLin
Copy link
Member

GoeLin commented Jun 12, 2025

Hi @varada1110
please backport this to 25 (or 25u) first.
I think backports to 25 are automatically merged to 25u.

@kevinrushforth
Copy link
Member

Hi @varada1110 please backport this to 25 (or 25u) first. I think backports to 25 are automatically merged to 25u.

Correct. So backport to one of 25 or 25u (whichever is appropriate for the bug in question), not both.

@kevinrushforth
Copy link
Member

Hi @varada1110 please backport this to 25 (or 25u) first. I think backports to 25 are automatically merged to 25u.

Correct. So backport to one of 25 or 25u (whichever is appropriate for the bug in question), not both.

And to answer the question of which is appropriate, as a P4 bug it is not a candidate for JDK 25. Backport it to jdk25u.

@valeriepeng
Copy link
Contributor

valeriepeng commented Jun 12, 2025

@varada1110 Please don't rush with the backports. We observed some test failures with this, so further changes may be needed. Let's wait a little till all tests are run and causes of the test failures are understood. Thanks~

@GoeLin
Copy link
Member

GoeLin commented Jun 16, 2025

OK, I'll remove the fix-request in the meantime. Feel free to label again if all issues are resolved. Thanks.

@openjdk openjdk bot removed the approval label Jun 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport clean rfr Pull request is ready for review
Development

Successfully merging this pull request may close these issues.

4 participants