Skip to content

Test failure System.Security.Cryptography.Cng.Tests.DSACngPkcs8Tests.NoPlaintextExportAllowsEncryptedPkcs8(algorithm: TripleDes3KeyPkcs12) #91860

Open
@v-wenyuxu

Description

Run: runtime-coreclr libraries-pgo 20230910.1
Failed in:

net9.0-windows-Release-x86-CoreCLR_checked-fullpgo_random_gdv_edge-Windows.10.Amd64.Open

- System.Security.Cryptography.Cng.Tests.DSACngPkcs8Tests.NoPlaintextExportAllowsEncryptedPkcs8

Error message:

System.Security.Cryptography.CryptographicException : An internal consistency check failed.

Stack trace
   at System.Security.Cryptography.CngKey.Create(CngAlgorithm algorithm, String keyName, CngKeyCreationParameters creationParameters) in /_/src/libraries/System.Security.Cryptography/src/System/Security/Cryptography/CngKey.Create.cs:line 58
   at System.Security.Cryptography.CngAlgorithmCore.GetOrGenerateKey(Int32 keySize, CngAlgorithm algorithm) in /_/src/libraries/System.Security.Cryptography/src/System/Security/Cryptography/CngAlgorithmCore.cs:line 73
   at System.Security.Cryptography.DSACng.get_Key() in /_/src/libraries/System.Security.Cryptography/src/System/Security/Cryptography/DSACng.Key.cs:line 24
   at System.Security.Cryptography.Cng.Tests.DSACngPkcs8Tests.CreateKey(CngKey& cngKey) in /_/src/libraries/System.Security.Cryptography.Cng/tests/DSACngPkcs8Tests.cs:line 13
   at System.Security.Cryptography.Cng.Tests.CngPkcs8Tests`1.NoPlaintextExportAllowsEncryptedPkcs8(PbeEncryptionAlgorithm algorithm) in /_/src/libraries/System.Security.Cryptography.Cng/tests/CngPkcs8Tests.cs:line 64
   at InvokeStub_CngPkcs8Tests`1.NoPlaintextExportAllowsEncryptedPkcs8(Object, Span`1)
   at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions