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

JSSE: Session resumption check for enabled cipher suite and protocol #209

Merged

Conversation

cconlon
Copy link
Member

@cconlon cconlon commented Jul 17, 2024

This PR adjusts client-side session resumption to verify the original cipher suite and protocol used for the original session are enabled.

If an initial connection to a server is established and saved into the session cache, but the application then adjusts or removes cipher suites with SSLSocket/SSLEngine.setEnabledCipherSuites() or SSLSocket/SSLEngine.setEnabledProtocols(), if the cipher suite or protocol used in the first connection is no longer enabled we should fall back to full handshake for the second connection.

@cconlon cconlon self-assigned this Jul 17, 2024
@cconlon cconlon force-pushed the sessionResumeCipherProtocolChecks branch from 7746787 to 7231009 Compare August 6, 2024 20:33
@cconlon cconlon assigned JacobBarthelmeh and wolfSSL-Bot and unassigned cconlon Aug 7, 2024
Copy link
Contributor

@JacobBarthelmeh JacobBarthelmeh left a comment

Choose a reason for hiding this comment

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

Please add a test case for this.

< edit > I see, the test case will be in an internal unit test being worked on. Disregard my comment.

@JacobBarthelmeh JacobBarthelmeh merged commit 74101dd into wolfSSL:master Aug 7, 2024
35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants