Repository navigation
Closed
Labels
Description
===========================================================================================================
C:\h\w\A7F80936\w\AFF109A9\e>"C:\h\w\A7F80936\p\dotnet.exe" exec --runtimeconfig System.Security.Cryptography.Pkcs.Tests.runtimeconfig.json --depsfile System.Security.Cryptography.Pkcs.Tests.deps.json xunit.console.dll System.Security.Cryptography.Pkcs.Tests.dll -xml testResults.xml -nologo -nocolor -notrait category=IgnoreForCI -notrait category=OuterLoop -notrait category=failing
Discovering: System.Security.Cryptography.Pkcs.Tests (method display = ClassAndMethod, method display options = None)
Discovered: System.Security.Cryptography.Pkcs.Tests (found 551 of 674 test cases)
Starting: System.Security.Cryptography.Pkcs.Tests (parallel test collections = on, max threads = 2)
System.Security.Cryptography.Pkcs.EnvelopedCmsTests.Tests.KeyAgreeRecipientInfoTests.TestKeyAgreement_PlatformNotSupported [SKIP]
Condition(s) not met: "DoesNotSupportDiffieHellman"
System.Security.Cryptography.Pkcs.Tests.Pkcs12.ShroudedKeyBagTests.BuildWithCharsFactoryReadDirect [FAIL]
Internal.Cryptography.CryptoThrowHelper+WindowsCryptographicException : Unknown error (0xc0000001)
Stack Trace:
/_/src/libraries/Common/src/Internal/Cryptography/CngCommon.SignVerify.cs(49,0): at Internal.Cryptography.CngCommon.TrySignHash(SafeNCryptKeyHandle keyHandle, ReadOnlySpan`1 hash, Span`1 signature, AsymmetricPaddingMode paddingMode, Void* pPaddingInfo, Int32& bytesWritten)
/_/src/libraries/Common/src/System/Security/Cryptography/RSACng.SignVerify.cs(126,0): at System.Security.Cryptography.RSAImplementation.RSACng.TrySignHash(ReadOnlySpan`1 hash, Span`1 destination, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding, Int32& bytesWritten)
/_/src/libraries/System.Security.Cryptography.Algorithms/src/System/Security/Cryptography/RSA.cs(204,0): at System.Security.Cryptography.RSA.TrySignData(ReadOnlySpan`1 data, Span`1 destination, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding, Int32& bytesWritten)
/_/src/libraries/System.Security.Cryptography.Pkcs/tests/Pkcs12/ShroudedKeyBagTests.cs(40,0): at System.Security.Cryptography.Pkcs.Tests.Pkcs12.ShroudedKeyBagTests.BuildWithCharsFactoryReadDirect()
System.Security.Cryptography.Pkcs.EnvelopedCmsTests.Tests.KeyTransRecipientInfoRsaOaepCertTests.TestKeyTransEncryptKey_RsaOaepCertificate_NoPlatformSupport_Throws [SKIP]
Condition(s) not met: "DoesNotSupportRsaOaepCerts"
Finished: System.Security.Cryptography.Pkcs.Tests
=== TEST EXECUTION SUMMARY ===
System.Security.Cryptography.Pkcs.Tests Total: 868, Errors: 0, Failed: 1, Skipped: 2, Time: 10.026s
----- end Tue 11/17/2020 20:14:35.98 ----- exit code 1 ----------------------------------------------------------
Activity
bartonjs commentedon Nov 17, 2020
Duplicate of #29683 (underlying OS issue)