Find hardcoded protocol choices
ProprietaryFind TLS and SSL protocol versions chosen in source: members of SslProtocols (other than None and the obsolete Default) and of SecurityProtocolType (other than SystemDefault). Pinned protocol versions keep the application from following the operating system's defaults to TLS 1.3 and the post-quantum hybrid key exchanges negotiated over it.
OpenRewrite. CSharp. Recipes. Cryptography. FindHardcodedProtocolChoicemod run . --recipe= OpenRewrite. CSharp. Recipes. Cryptography. FindHardcodedProtocolChoiceInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.