-
Notifications
You must be signed in to change notification settings - Fork 457
Use AES-KW on .NET10 #3392
Copy link
Copy link
Labels
9.x Major ReleaseIssues for the next major version 9.xIssues for the next major version 9.xInternalIndicates issue was opened by the IdentityModel teamIndicates issue was opened by the IdentityModel team
Metadata
Metadata
Assignees
Labels
9.x Major ReleaseIssues for the next major version 9.xIssues for the next major version 9.xInternalIndicates issue was opened by the IdentityModel teamIndicates issue was opened by the IdentityModel team
On .NET10, there are APIs that use AES-KW, so we need to not use this code: azure-activedirectory-identitymodel-extensions-for-dotnet/src/Microsoft.IdentityModel.Tokens/Encryption/SymmetricKeyWrapProvider.cs at d25996a6c7e9a9cd11655a70566e913d6ccdad51 · AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet
And use AES-KW instead: Aes.EncryptKeyWrapPadded Method (System.Security.Cryptography) | Microsoft Learn