Find process-wide TLS configuration

Proprietary

Find assignments to ServicePointManager.SecurityProtocol, which override the TLS protocol versions for every connection of the process instead of following the operating system's defaults. Such overrides keep the application from negotiating newer protocol versions and post-quantum key exchange.

OpenRewrite.CSharp.Recipes.Cryptography.FindProcessWideTlsConfiguration
mod run . --recipe=OpenRewrite.CSharp.Recipes.Cryptography.FindProcessWideTlsConfiguration

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.