-
Notifications
You must be signed in to change notification settings - Fork 281
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
Sort the DNS Names in the SANs #4624
Sort the DNS Names in the SANs #4624
Conversation
@Mehdi-Bendriss, thank you for your contribution. Unfortunately, it won't fix the problem. The method where you added the comparison is used only in the REST API. To address the bug, you need to sort the DN names in the method at:
|
@willyborankin thanks for the response. I am not sure I'm following. The sorting in my PR happens in Is my understanding correct or did I miss something? |
Ahh sorry didn't notice |
src/main/java/org/opensearch/security/ssl/DefaultSecurityKeyStore.java
Outdated
Show resolved
Hide resolved
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #4624 +/- ##
==========================================
+ Coverage 65.24% 65.27% +0.03%
==========================================
Files 317 317
Lines 22309 22311 +2
Branches 3588 3588
==========================================
+ Hits 14555 14563 +8
+ Misses 5960 5954 -6
Partials 1794 1794
|
LGTM. One last thing you need to sign off your commits using git: |
Signed-off-by: Mehdi Bendriss <mehdi.bendriss@canonical.com>
Signed-off-by: Mehdi Bendriss <mehdi.bendriss@canonical.com>
Signed-off-by: Mehdi Bendriss <mehdi.bendriss@canonical.com>
Signed-off-by: Mehdi Bendriss <mehdi.bendriss@canonical.com>
c4758b6
to
e188dfc
Compare
@willyborankin I signed off all commits, the DCO step still fails. Any idea? |
I manually set it to pass. All of the commits are signed. |
(cherry picked from commit a6fb2d4) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Description
Issues Resolved
#4480
Testing
manual testing - as it is a pretty straightforward change.
happy to add a unit test if needed
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.