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

OneCert_MismatchedKey test failing on release 5.0 branch #41727

Closed
Anipik opened this issue Sep 2, 2020 · 3 comments
Closed

OneCert_MismatchedKey test failing on release 5.0 branch #41727

Anipik opened this issue Sep 2, 2020 · 3 comments

Comments

@Anipik
Copy link
Contributor

Anipik commented Sep 2, 2020

  Discovering: System.Security.Cryptography.X509Certificates.Tests (method display = ClassAndMethod, method display options = None)
  Discovered:  System.Security.Cryptography.X509Certificates.Tests (found 575 of 624 test cases)
  Starting:    System.Security.Cryptography.X509Certificates.Tests (parallel test collections = on, max threads = 2)
    System.Security.Cryptography.X509Certificates.Tests.PfxFormatTests_Collection.OneCert_MismatchedKey [FAIL]
      Internal.Cryptography.CryptoThrowHelper+WindowsCryptographicException : Unknown error (0xc0000001)
      Stack Trace:
        /_/src/libraries/Common/src/Internal/Cryptography/CngCommon.SignVerify.cs(41,0): at Internal.Cryptography.CngCommon.SignHash(SafeNCryptKeyHandle keyHandle, ReadOnlySpan`1 hash, AsymmetricPaddingMode paddingMode, Void* pPaddingInfo, Int32 estimatedSize)
        /_/src/libraries/Common/src/System/Security/Cryptography/RSACng.SignVerify.cs(82,0): at System.Security.Cryptography.RSACng.SignHash(Byte[] hash, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding)
        /_/src/libraries/System.Security.Cryptography.Algorithms/src/System/Security/Cryptography/RSA.cs(175,0): at System.Security.Cryptography.RSA.SignData(Byte[] data, Int32 offset, Int32 count, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding)
        /_/src/libraries/System.Security.Cryptography.Algorithms/src/System/Security/Cryptography/RSA.cs(153,0): at System.Security.Cryptography.RSA.SignData(Byte[] data, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding)
        /_/src/libraries/System.Security.Cryptography.X509Certificates/tests/PfxFormatTests.cs(944,0): at System.Security.Cryptography.X509Certificates.Tests.PfxFormatTests.CheckKeyConsistencyFails(X509Certificate2 cert)
        /_/src/libraries/System.Security.Cryptography.X509Certificates/tests/PfxFormatTests_Collection.cs(66,0): at System.Security.Cryptography.X509Certificates.Tests.PfxFormatTests_Collection.ReadPfx(Byte[] pfxBytes, String correctPassword, X509Certificate2 expectedCert, X509Certificate2[] expectedOrder, Action`1 otherWork, X509KeyStorageFlags flags)
        /_/src/libraries/System.Security.Cryptography.X509Certificates/tests/PfxFormatTests_Collection.cs(17,0): at System.Security.Cryptography.X509Certificates.Tests.PfxFormatTests_Collection.ReadPfx(Byte[] pfxBytes, String correctPassword, X509Certificate2 expectedCert, Action`1 otherWork)
        /_/src/libraries/System.Security.Cryptography.X509Certificates/tests/PfxFormatTests.cs(235,0): at System.Security.Cryptography.X509Certificates.Tests.PfxFormatTests.OneCert_MismatchedKey()
  Finished:    System.Security.Cryptography.X509Certificates.Tests
=== TEST EXECUTION SUMMARY ===
   System.Security.Cryptography.X509Certificates.Tests  Total: 1048, Errors: 0, Failed: 1, Skipped: 0, Time: 22.003s

cc @ericstj @ViktorHofer @safern

@Anipik Anipik added this to the 5.0.0 milestone Sep 2, 2020
@Dotnet-GitSync-Bot Dotnet-GitSync-Bot added area-System.Security untriaged New issue has not been triaged by the area owner labels Sep 2, 2020
@ghost
Copy link

ghost commented Sep 2, 2020

Tagging subscribers to this area: @bartonjs, @vcsjones, @krwq
See info in area-owners.md if you want to be subscribed.

@jeffschwMSFT jeffschwMSFT removed the untriaged New issue has not been triaged by the area owner label Sep 2, 2020
@vcsjones
Copy link
Member

vcsjones commented Sep 2, 2020

I think this is another example of #29683.

@bartonjs
Copy link
Member

bartonjs commented Sep 2, 2020

Duplicate of #29683.

@bartonjs bartonjs closed this as completed Sep 2, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Dec 7, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants