Repository navigation
tls: don't expect TLS 1.3 sessions to be resumable - #16702
Merged
Merged
Conversation
In TLS 1.3, tickets come after the handshake. Therefore the session from the handshake is not a resumable object that can be installed in a different connection as with previous versions. For compatibility, BoringSSL creates dummy SSL_SESSION objects but they will never resume if used. However, BoringSSL currently erroneously/confusingly returns true from SSL_SESSION_is_resumable on these dummy sessions. We're going to change that, but Envoy tests currently depend on it. This change addresses that. Additionally, the return value of this function was never used and thus a little more cleanup is possible. Signed-off-by: Adam Langley <[email protected]> Risk Level: Low — test-only change Testing: test-only change Docs Changes:n/a Release Notes: n/a Platform Specific Features: n/a
Contributor
Author
|
/assign-from @envoyproxy/maintainers |
|
@envoyproxy/maintainers assignee is @jmarantz |
dmitri-d
previously approved these changes
May 27, 2021
Member
|
Needs a format fix, thank you. /wait |
The spellchecker doesn't consider it to be a word. Signed-off-by: Adam Langley <[email protected]>
jmarantz
approved these changes
May 28, 2021
Contributor
|
/retest |
|
Retrying Azure Pipelines: |
ggreenway
approved these changes
May 28, 2021
leyao-daily
pushed a commit
to leyao-daily/envoy
that referenced
this pull request
Sep 30, 2021
In TLS 1.3, tickets come after the handshake. Therefore the session from the handshake is not a resumable object that can be installed in a different connection as with previous versions. For compatibility, BoringSSL creates dummy SSL_SESSION objects but they will never resume if used. However, BoringSSL currently erroneously/confusingly returns true from SSL_SESSION_is_resumable on these dummy sessions. We're going to change that, but Envoy tests currently depend on it. This change addresses that. Additionally, the return value of this function was never used and thus a little more cleanup is possible. Signed-off-by: Adam Langley <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
In TLS 1.3, tickets come after the handshake. Therefore the session from
the handshake is not a resumable object that can be installed in a
different connection as with previous versions. For compatibility,
BoringSSL creates dummy SSL_SESSION objects but they will never resume
if used.
However, BoringSSL currently erroneously/confusingly returns true from
SSL_SESSION_is_resumable on these dummy sessions. We're going to change
that, but Envoy tests currently depend on it. This change addresses
that.
Additionally, the return value of this function was never used and thus
a little more cleanup is possible.
Signed-off-by: Adam Langley [email protected]
Risk Level: Low — test-only change
Testing: test-only change
Docs Changes:n/a
Release Notes: n/a
Platform Specific Features: n/a