@@ -95,6 +95,7 @@ The PR that reveals the implementation of the `<IncludeInternalObsoleteAttribute
| __`SYSLIB0038`__ | SerializationFormat.Binary is obsolete and should not be used. See https://aka.ms/serializationformat-binary-obsolete for more information. |
| __`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. |
| __`SYSLIB0040`__ | EncryptionPolicy.NoEncryption and AllowEncryption significantly reduce security and should not be used in production code. |
| __`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. |
@@ -132,5 +132,8 @@ internal static class Obsoletions
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}")]