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
Copy file name to clipboardExpand all lines: docs/project/list-of-diagnostics.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -95,6 +95,7 @@ The PR that reveals the implementation of the `<IncludeInternalObsoleteAttribute
95
95
|__`SYSLIB0038`__| SerializationFormat.Binary is obsolete and should not be used. See https://aka.ms/serializationformat-binary-obsolete for more information. |
96
96
|__`SYSLIB0039`__| TLS versions 1.0 and 1.1 have known vulnerabilities and are not recommended. Use a newer TLS version instead, or use SslProtocols.None to defer to OS defaults. |
97
97
|__`SYSLIB0040`__| EncryptionPolicy.NoEncryption and AllowEncryption significantly reduce security and should not be used in production code. |
98
+
|__`SYSLIB0041`__| The default hash algorithm and iteration counts in Rfc2898DeriveBytes constructors are outdated and insecure. Use a constructor that accepts the hash algorithm and the number of iterations. |
Copy file name to clipboardExpand all lines: src/libraries/Common/src/System/Obsoletions.cs
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -132,5 +132,8 @@ internal static class Obsoletions
132
132
133
133
internalconststringEncryptionPolicyMessage="EncryptionPolicy.NoEncryption and AllowEncryption significantly reduce security and should not be used in production code.";
internalconststringRfc2898OutdatedCtorMessage="The default hash algorithm and iteration counts in Rfc2898DeriveBytes constructors are outdated and insecure. Use a constructor that accepts the hash algorithm and the number of iterations.";
[System.ObsoleteAttribute("The default hash algorithm and iteration counts in Rfc2898DeriveBytes constructors are outdated and insecure. Use a constructor that accepts the hash algorithm and the number of iterations.",DiagnosticId="SYSLIB0041",UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
[System.ObsoleteAttribute("The default hash algorithm and iteration counts in Rfc2898DeriveBytes constructors are outdated and insecure. Use a constructor that accepts the hash algorithm and the number of iterations.",DiagnosticId="SYSLIB0041",UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
[System.ObsoleteAttribute("The default hash algorithm and iteration counts in Rfc2898DeriveBytes constructors are outdated and insecure. Use a constructor that accepts the hash algorithm and the number of iterations.",DiagnosticId="SYSLIB0041",UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
[System.ObsoleteAttribute("The default hash algorithm and iteration counts in Rfc2898DeriveBytes constructors are outdated and insecure. Use a constructor that accepts the hash algorithm and the number of iterations.",DiagnosticId="SYSLIB0041",UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
[System.ObsoleteAttribute("The default hash algorithm and iteration counts in Rfc2898DeriveBytes constructors are outdated and insecure. Use a constructor that accepts the hash algorithm and the number of iterations.",DiagnosticId="SYSLIB0041",UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
0 commit comments