Skip to content

EncryptedXml uses obsolete Rijndael* types #54145

Closed
@ViktorHofer

Description

@ViktorHofer
C:\git\runtime2\src\libraries\System.Security.Cryptography.Xml\src\System\Security\Cryptography\Xml\EncryptedXml.cs(549,17): error SYSLIB0022: 'RijndaelManaged' is obsolete: 'The Rijndael and RijndaelManaged types are obsolete. Use Aes instead.' [C:\git\runtime2\src\libraries\System.Security.Cryptography.Xml\src\System.Security.Cryptography.Xml.csproj]
C:\git\runtime2\src\libraries\System.Security.Cryptography.Xml\src\System\Security\Cryptography\Xml\EncryptedXml.cs(549,44): error SYSLIB0022: 'RijndaelManaged' is obsolete: 'The Rijndael and RijndaelManaged types are obsolete. Use Aes instead.' [C:\git\runtime2\src\libraries\System.Security.Cryptography.Xml\src\System.Security.Cryptography.Xml.csproj]
C:\git\runtime2\src\libraries\System.Security.Cryptography.Xml\src\System\Security\Cryptography\Xml\EncryptedXml.cs(598,32): error SYSLIB0022: 'Rijndael' is obsolete: 'The Rijndael and RijndaelManaged types are obsolete. Use Aes instead.' [C:\git\runtime2\src\libraries\System.Security.Cryptography.Xml\src\System.Security.Cryptography.Xml.csproj]
C:\git\runtime2\src\libraries\System.Security.Cryptography.Xml\src\System\Security\Cryptography\Xml\EncryptedXml.cs(624,13): error SYSLIB0022: 'RijndaelManaged' is obsolete: 'The Rijndael and RijndaelManaged types are obsolete. Use Aes instead.' [C:\git\runtime2\src\libraries\System.Security.Cryptography.Xml\src\System.Security.Cryptography.Xml.csproj]
C:\git\runtime2\src\libraries\System.Security.Cryptography.Xml\src\System\Security\Cryptography\Xml\EncryptedXml.cs(624,40): error SYSLIB0022: 'RijndaelManaged' is obsolete: 'The Rijndael and RijndaelManaged types are obsolete. Use Aes instead.' [C:\git\runtime2\src\libraries\System.Security.Cryptography.Xml\src\System.Security.Cryptography.Xml.csproj]
C:\git\runtime2\src\libraries\System.Security.Cryptography.Xml\src\System\Security\Cryptography\Xml\EncryptedXml.cs(871,44): error SYSLIB0022: 'Rijndael' is obsolete: 'The Rijndael and RijndaelManaged types are obsolete. Use Aes instead.' [C:\git\runtime2\src\libraries\System.Security.Cryptography.Xml\src\System.Security.Cryptography.Xml.csproj]
C:\git\runtime2\src\libraries\System.Security.Cryptography.Xml\src\System\Security\Cryptography\Xml\EncryptedXml.cs(915,44): error SYSLIB0022: 'Rijndael' is obsolete: 'The Rijndael and RijndaelManaged types are obsolete. Use Aes instead.' [C:\git\runtime2\src\libraries\System.Security.Cryptography.Xml\src\System.Security.Cryptography.Xml.csproj]

<!-- RijndaelManaged' is obsolete: 'The Rijndael and RijndaelManaged types are obsolete. Use Aes instead. https://github.com/dotnet/runtime/issues/54145. -->
<NoWarn Condition="$([MSBuild]::GetTargetFrameworkIdentifier('$(TargetFramework)')) == '.NETCoreApp'">$(NoWarn);SYSLIB0022</NoWarn>

cc @bartonjs @GrabYourPitchforks

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions