Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[6.0] CryptographicException : Cryptography_OAEPDecoding in Rsa.Tests.EncryptDecrypt_Array.RsaDecryptAfterExport #99792

Closed
carlossanlop opened this issue Mar 14, 2024 · 1 comment
Labels
arch-x64 area-System.Security Known Build Error Use this to report build issues in the .NET Helix tab os-windows runtime-coreclr specific to the CoreCLR runtime

Comments

@carlossanlop
Copy link
Member

carlossanlop commented Mar 14, 2024

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=603897
Build error leg or test failing: System.Security.Cryptography.Rsa.Tests.EncryptDecrypt_Array.RsaDecryptAfterExport

Error Message

{
  "ErrorMessage" : "CapiHelper.Windows.cs(844,0): at Internal.NativeCrypto.CapiHelper.DecryptKey",
  "BuildRetry" : false,
  "ExcludeConsoleLog" : false
}
    System.Security.Cryptography.Rsa.Tests.EncryptDecrypt_Array.RsaDecryptAfterExport [FAIL]
      System.Security.Cryptography.CryptographicException : Cryptography_OAEPDecoding
      Stack Trace:
        /_/src/libraries/System.Security.Cryptography.Csp/src/System/Security/Cryptography/CapiHelper.Windows.cs(844,0): at Internal.NativeCrypto.CapiHelper.DecryptKey(SafeKeyHandle safeKeyHandle, Byte[] encryptedData, Int32 encryptedDataLength, Boolean fOAEP, Byte[]& decryptedData)
        /_/src/libraries/System.Security.Cryptography.Csp/src/System/Security/Cryptography/RSACryptoServiceProvider.Windows.cs(282,0): at System.Security.Cryptography.RSACryptoServiceProvider.Decrypt(Byte[] rgb, Boolean fOAEP)
        /_/src/libraries/System.Security.Cryptography.Csp/src/System/Security/Cryptography/RSACryptoServiceProvider.Windows.cs(668,0): at System.Security.Cryptography.RSACryptoServiceProvider.Decrypt(Byte[] data, RSAEncryptionPadding padding)
        /_/src/libraries/Common/tests/System/Security/Cryptography/AlgorithmImplementations/RSA/EncryptDecrypt.cs(18,0): at System.Security.Cryptography.Rsa.Tests.EncryptDecrypt_Array.Decrypt(RSA rsa, Byte[] data, RSAEncryptionPadding padding)
        /_/src/libraries/Common/tests/System/Security/Cryptography/AlgorithmImplementations/RSA/EncryptDecrypt.cs(619,0): at System.Security.Cryptography.Rsa.Tests.EncryptDecrypt.RsaDecryptAfterExport()

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=603897
Error message validated: [CapiHelper.Windows.cs(844,0): at Internal.NativeCrypto.CapiHelper.DecryptKey]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 3/14/2024 10:44:14 PM UTC

Report

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 0
@carlossanlop carlossanlop added area-System.Security os-windows arch-x64 runtime-coreclr specific to the CoreCLR runtime Known Build Error Use this to report build issues in the .NET Helix tab labels Mar 14, 2024
@dotnet-policy-service dotnet-policy-service bot added the untriaged New issue has not been triaged by the area owner label Mar 14, 2024
@jeffhandley
Copy link
Member

No recent hits

@dotnet-policy-service dotnet-policy-service bot removed the untriaged New issue has not been triaged by the area owner label Jul 19, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Aug 19, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-x64 area-System.Security Known Build Error Use this to report build issues in the .NET Helix tab os-windows runtime-coreclr specific to the CoreCLR runtime
Projects
None yet
Development

No branches or pull requests

2 participants