Navigation Menu

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

8281236: (D)TLS key exchange named groups #9776

Closed
wants to merge 7 commits into from

Conversation

XueleiFan
Copy link
Member

@XueleiFan XueleiFan commented Aug 5, 2022

This update is to support key exchange named groups customization for individual (D)TLS connection. Please review the CSR as well:
CSR: https://bugs.openjdk.org/browse/JDK-8291950
RFE: https://bugs.openjdk.org/browse/JDK-8281236
Release-note: https://bugs.openjdk.org/browse/JDK-8291975

This is an effort similar to JDK-8280494: "(D)TLS signature schemes"


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
  • Change requires a CSR request to be approved

Issues

Reviewers

Reviewing

Using git

Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk pull/9776/head:pull/9776
$ git checkout pull/9776

Update a local copy of the PR:
$ git checkout pull/9776
$ git pull https://git.openjdk.org/jdk pull/9776/head

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 9776

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

Using diff file

Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/9776.diff

@bridgekeeper
Copy link

bridgekeeper bot commented Aug 5, 2022

👋 Welcome back xuelei! 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 Aug 5, 2022

@XueleiFan The following labels will be automatically applied to this pull request:

  • net
  • security

When this pull request is ready to be reviewed, an "RFR" email will be sent to the corresponding mailing lists. If you would like to change these labels, use the /label pull request command.

@openjdk openjdk bot added security security-dev@openjdk.org net net-dev@openjdk.org labels Aug 5, 2022
@XueleiFan
Copy link
Member Author

/csr

@openjdk openjdk bot added the csr Pull request needs approved CSR before integration label Aug 5, 2022
@openjdk
Copy link

openjdk bot commented Aug 5, 2022

@XueleiFan has indicated that a compatibility and specification (CSR) request is needed for this pull request.

@XueleiFan this pull request must refer to an issue in JBS to be able to link it to a CSR request. To refer this pull request to an issue in JBS, please use the /issue command in a comment in this pull request.

@XueleiFan XueleiFan changed the title Jdk 8281236 8281236: (D)TLS key exchange named groups Aug 6, 2022
@XueleiFan
Copy link
Member Author

/issue add JDK-8281236

@openjdk openjdk bot added the rfr Pull request is ready for review label Aug 6, 2022
@openjdk
Copy link

openjdk bot commented Aug 6, 2022

@XueleiFan This issue is referenced in the PR title - it will now be updated.

@mlbridge
Copy link

mlbridge bot commented Aug 6, 2022

Webrevs

@bridgekeeper
Copy link

bridgekeeper bot commented Sep 6, 2022

@XueleiFan 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!

@XueleiFan
Copy link
Member Author

Ping ...

@bridgekeeper
Copy link

bridgekeeper bot commented Oct 5, 2022

@XueleiFan 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 Nov 2, 2022

@XueleiFan 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 Nov 2, 2022
@XueleiFan
Copy link
Member Author

Anyone has cycle for the review?

@XueleiFan
Copy link
Member Author

/open

@openjdk openjdk bot reopened this Nov 7, 2022
@openjdk
Copy link

openjdk bot commented Nov 7, 2022

@XueleiFan This pull request is now open

@mcpowers
Copy link
Contributor

mcpowers commented Nov 7, 2022

Well crafted. LGTM.

@XueleiFan
Copy link
Member Author

Thank you very much, @mcpowers!

May I have the CSR reviewed? https://bugs.openjdk.org/browse/JDK-8291950. The new feature deadline is approaching. I appreciate if the CSR could be reviewed in 2 weeks.

@mcpowers
Copy link
Contributor

mcpowers commented Nov 8, 2022

I'll look at your CSR this morning. Make sure your SSLParameters additions look correct with JavaDoc. I always forget that step.

@XueleiFan
Copy link
Member Author

I'll look at your CSR this morning. Make sure your SSLParameters additions look correct with JavaDoc. I always forget that step.

Thank you for the suggestion. I double checked the JavaDoc. It looks good to me.

Please feel free to add your name as reviewer in the CSR and approve this PR when you are ready.

@mcpowers
Copy link
Contributor

mcpowers commented Nov 8, 2022

Unfortunately, I only have author status and can only comment.

@XueleiFan
Copy link
Member Author

XueleiFan commented Nov 8, 2022

Unfortunately, I only have author status and can only comment.

I think OpenJDK Author can approve as well. I just need to get another Reviewer approval before integration.

@seanjmullan
Copy link
Member

Unfortunately, I only have author status and can only comment.

I think OpenJDK Author can approve as well. I just need to get another Reviewer approval before integration.

For a CSR, I believe that is true. But you will need a Reviewer for the PR, and they may have comments on parts that are covered by the CSR.

I would suggest moving the CSR to Proposed (which doesn't require a Reviewer AFAIK). That will move it forward a bit.

@XueleiFan
Copy link
Member Author

XueleiFan commented Nov 8, 2022

Unfortunately, I only have author status and can only comment.

I think OpenJDK Author can approve as well. I just need to get another Reviewer approval before integration.

For a CSR, I believe that is true. But you will need a Reviewer for the PR, and they may have comments on parts that are covered by the CSR.

+1. An Author can comment as reviewed as well, for the credit and indicating his/her review has completed. But the reviewing is not a Review approval, and the system will not allow the integration unless there is a Reviewer approval.

I would suggest moving the CSR to Proposed (which doesn't require a Reviewer AFAIK). That will move it forward a bit.

I changed the CSR to Proposed. Thanks for the suggestion.

@XueleiFan
Copy link
Member Author

XueleiFan commented Nov 21, 2022

@seanjmullan Did you have cycle to review this PR and CSR? This CSR is similar to the one we did for signature algorithms. I was wondering if it is possible to have it in JDK 20 so that more specific TLS benchmarks could be introduced sooner. Thanks!

@seanjmullan
Copy link
Member

@seanjmullan Did you have cycle to review this PR and CSR? This CSR is similar to the one we did for signature algorithms. I was wondering if it is possible to have it in JDK 20 so that more specific TLS benchmarks could be introduced sooner. Thanks!

I added my name as Reviewer to the CSR, so you can finalize that, as that will give you a better chance of it being approved and getting this into JDK 20. It will take me a little while longer to review the code changes, though I don't expect it will impact the API.

@openjdk openjdk bot removed the csr Pull request needs approved CSR before integration label Dec 5, 2022
@seanjmullan
Copy link
Member

I have fetched your branch and will run it thru the tier1 and tier2 tests before approving.

Copy link
Member

@seanjmullan seanjmullan left a comment

Choose a reason for hiding this comment

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

Test results are good.

@openjdk
Copy link

openjdk bot commented Dec 7, 2022

@XueleiFan This change now passes all automated pre-integration checks.

ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details.

After integration, the commit message for the final commit will be:

8281236: (D)TLS key exchange named groups

Reviewed-by: mullan

You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed.

At the time when this comment was updated there had been 177 new commits pushed to the master branch:

As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details.

➡️ To integrate this PR with the above commit message to the master branch, type /integrate in a new comment.

@openjdk openjdk bot added the ready Pull request is ready to be integrated label Dec 7, 2022
@XueleiFan
Copy link
Member Author

/integrate

@openjdk
Copy link

openjdk bot commented Dec 7, 2022

Going to push as commit 5d4c71c.
Since your change was applied there have been 177 commits pushed to the master branch:

Your commit was automatically rebased without conflicts.

@openjdk openjdk bot added the integrated Pull request has been integrated label Dec 7, 2022
@openjdk openjdk bot closed this Dec 7, 2022
@openjdk openjdk bot removed ready Pull request is ready to be integrated rfr Pull request is ready for review labels Dec 7, 2022
@openjdk
Copy link

openjdk bot commented Dec 7, 2022

@XueleiFan Pushed as commit 5d4c71c.

💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
integrated Pull request has been integrated net net-dev@openjdk.org security security-dev@openjdk.org
3 participants