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

ktls: forbid renegotiation #4229

Merged
merged 2 commits into from
Oct 5, 2023
Merged

ktls: forbid renegotiation #4229

merged 2 commits into from
Oct 5, 2023

Conversation

lrstewart
Copy link
Contributor

@lrstewart lrstewart commented Sep 29, 2023

Resolved issues:

related to #3711

Description of changes:

Small change to prevent ktls from being enabled if the application might be using renegotiation.

I also added some checks to catch if the application DOES try to initiate renegotiation while using ktls, but those checks should never trigger. We should prevent ktls from being enabled if there's any chance of renegotiation. The original use case for renegotiation support was servers that required renegotiation (as in, the connection failed without it), so we don't want to enable ktls if that might be the case because we can't disable it later.

Testing:

Unit test

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@lrstewart lrstewart marked this pull request as ready for review September 29, 2023 08:00
@lrstewart lrstewart requested a review from maddeleine October 4, 2023 22:40
@lrstewart lrstewart enabled auto-merge (squash) October 5, 2023 04:22
@lrstewart lrstewart merged commit a6517c5 into aws:main Oct 5, 2023
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants