Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix down-level SSL/TLS version warnings#3126

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
benrr101 merged 3 commits intodotnet:mainfromedwardneal:issue-3120
Jan 21, 2025

Conversation

edwardneal
Copy link
Contributor

Contributes to#3120. I'll backport this to 6.0 if this is merged.

To verify this, I've expanded our test TDS server, adding support for using a named SSL protocol. It adds to the data forCertificateTestWithTdsServer.BeginWindowsConnectionTest andBeginLinuxConnectionTest, including an end-to-end connection test to a TDS server which only supports TLS 1.0 & 1.1.

@edwardnealedwardneal changed the titleIssue 3120Fix down-level SSL/TLS version warningsJan 17, 2025
@cheenamalhotracheenamalhotra requested a review froma teamJanuary 21, 2025 17:15
Copy link
Contributor

@paulmedynskipaulmedynski left a comment

Choose a reason for hiding this comment

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

One tiny change requested - see in-file comments.

@edwardneal
Copy link
ContributorAuthor

Thanks - I've made that correction.

Copy link
Contributor

@benrr101benrr101 left a comment

Choose a reason for hiding this comment

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

Really appreciate that you added test cases for this! 🚢

@@ -79,9 +81,9 @@ public static TestTdsServer StartServerWithQueryEngine(QueryEngine engine, bool

public static TestTdsServer StartTestServer(bool enableFedAuth = false, bool enableLog = false,
int connectionTimeout = DefaultConnectionTimeout, [CallerMemberName] string methodName = "",
X509Certificate2 encryptionCertificate = null, TDSPreLoginTokenEncryptionType encryptionType = TDSPreLoginTokenEncryptionType.NotSupported)
X509Certificate2 encryptionCertificate = null,SslProtocols encryptionProtocols = SslProtocols.Tls12,TDSPreLoginTokenEncryptionType encryptionType = TDSPreLoginTokenEncryptionType.NotSupported)
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: if the arguments have to go on multiple lines, it should be one argument per line.

Copy link
Contributor

Choose a reason for hiding this comment

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

but I definitely won't hold the review on this.

Copy link
Contributor

Choose a reason for hiding this comment

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

Yeah it's the existing "style", so it gets a pass for a targeted change like this.

@benrr101benrr101 merged commit198b906 intodotnet:mainJan 21, 2025
1 check passed
benrr101 pushed a commit that referenced this pull requestJan 21, 2025
* Added test for downlevel connectivity warning* Correctly test bit flags for legacy SSL protocol warning* Corrected warning disablement/restore.(cherry picked from commit198b906)
@benrr101benrr101 mentioned this pull requestJan 21, 2025
benrr101 added a commit that referenced this pull requestJan 22, 2025
* Fix down-level SSL/TLS version warnings (#3126)* Added test for downlevel connectivity warning* Correctly test bit flags for legacy SSL protocol warning* Corrected warning disablement/restore.(cherry picked from commit198b906)* Test by rolling back changes to connection test matrix---------Co-authored-by: Edward Neal <55035479+edwardneal@users.noreply.github.com>
benrr101 pushed a commit that referenced this pull requestMar 4, 2025
* Added test for downlevel connectivity warning* Correctly test bit flags for legacy SSL protocol warning* Corrected warning disablement/restore.
benrr101 pushed a commit that referenced this pull requestMar 4, 2025
* Added test for downlevel connectivity warning* Correctly test bit flags for legacy SSL protocol warning* Corrected warning disablement/restore.
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@benrr101benrr101benrr101 approved these changes

@paulmedynskipaulmedynskipaulmedynski approved these changes

@samsharma2700samsharma2700samsharma2700 approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

4 participants
@edwardneal@benrr101@paulmedynski@samsharma2700

[8]ページ先頭

©2009-2025 Movatter.jp