You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
mark EncryptionPolicy.NoEncryption as obsolete #65545
area-System.Net.Securitybreaking-changeIssue or PR that represents a breaking API or functional change over a previous release.enhancementProduct code improvement that does NOT require public API changes/additions
Creating SslStream and forcing no encryption is just pure weird. While old SSL/TLS versions permitted it and while it may be useful for debugging, nobody should really be using it in production at this point. AllowNoEncryption is somewhat on the same boat. NULL encryption is no longer available as of Tls 1.3.
We marked Ssl2 and Ssl3SslProtocols as obsolete because they are weak. No encryption is even worse from security prospective.
I expect you would be OK with SslStream expecting encryption @blowdart? (and not allowing NULL unless somebody tries hard e.g. marking AllowNoEncryption as obsolete as well)
That becomes more interesting. Null ciphers are, as you say, handy for debugging, but given TLS1.3 threw it all away I have mixed feelings. I'd say yes, do away with it all, but do it early now and see if anyone screams.
area-System.Net.Securitybreaking-changeIssue or PR that represents a breaking API or functional change over a previous release.enhancementProduct code improvement that does NOT require public API changes/additions
Activity
jeffhandley commentedon Feb 18, 2022
See https://github.com/dotnet/runtime/blob/main/docs/project/list-of-diagnostics.md for obsoletion instructions.
wfurt commentedon Feb 24, 2022
I expect you would be OK with
SslStreamexpecting encryption @blowdart? (and not allowing NULL unless somebody tries hard e.g. markingAllowNoEncryptionas obsolete as well)blowdart commentedon Feb 24, 2022
That becomes more interesting. Null ciphers are, as you say, handy for debugging, but given TLS1.3 threw it all away I have mixed feelings. I'd say yes, do away with it all, but do it early now and see if anyone screams.
Mark EncryptionPolicy.NoEncryption and EncryptionPolicy.AllowNoEncryp…
Mark EncryptionPolicy.NoEncryption and EncryptionPolicy.AllowNoEncryp…