Closed vcsjones closed 1 month ago
Tagging subscribers to this area: @dotnet/area-system-security, @vcsjones
Learn Build status updates of commit 2dc41e7:
File | Status | Preview URL | Details |
---|---|---|---|
xml/System.Security.Cryptography/AesCcm.xml | :white_check_mark:Succeeded | View | |
xml/System.Security.Cryptography/AesGcm.xml | :white_check_mark:Succeeded | View | |
xml/System.Security.Cryptography/ChaCha20Poly1305.xml | :white_check_mark:Succeeded | View |
For more details, please refer to the build report.
For any questions, please:
Summary
Starting in .NET 8, AEAD algorithms throw
AuthenticationTagMismatchException
to indicate that decryption failed because of the authentication tag mismatch. This is a sub-type ofCryptographicException
, so it was not considered a breaking change.This clarifies in the documentation that starting in .NET 8, users should expect this exception when the authentication tag does not match during decryption.
Fixes #10465