test: snicallback prioritization issue#54251
Draft
Ethan-Arrowood wants to merge 1 commit intonodejs:mainfrom
Draft
test: snicallback prioritization issue#54251Ethan-Arrowood wants to merge 1 commit intonodejs:mainfrom
Ethan-Arrowood wants to merge 1 commit intonodejs:mainfrom
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #54251 +/- ##
==========================================
- Coverage 87.11% 87.11% -0.01%
==========================================
Files 647 647
Lines 181693 181739 +46
Branches 34869 34885 +16
==========================================
+ Hits 158278 158316 +38
- Misses 16724 16731 +7
- Partials 6691 6692 +1 🚀 New features to boost your workflow:
|
604a1cf to
e05c222
Compare
Ethan-Arrowood
added a commit
to Ethan-Arrowood/node
that referenced
this pull request
Aug 7, 2024
Depending on the content of a cert, it seems that OpenSSL will prioritize the root cert over the context returned by SNICallback. This behavior is unexpected. This PR adds a test that demonstrates the behavior. Ideally there is a fix, or a explanation for this behavior we can add to the docs. Fixes: nodejs#54235 PR-URL: nodejs#54251
e05c222 to
b7afc71
Compare
Depending on the content of a cert, it seems that OpenSSL will prioritize the root cert over the context returned by SNICallback. This behavior is unexpected. This PR adds a test that demonstrates the behavior. Ideally there is a fix, or a explanation for this behavior we can add to the docs. Fixes: nodejs#54235 PR-URL: nodejs#54251
b7afc71 to
fd1228f
Compare
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.
This PR contains a new test that demonstrates the issue I outlined in #54235
I really don't think there is anything wrong with Node.js - it feels to me like an OpenSSL thing. Most likely not a bug either, but an intended behavior where certain certificates are prioritized over others.