You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[release/8.0] CertificateContentType fails for PKCS#7 with compatibility switch enabled on Unix #136062
Microsoft.DotNet.RemoteExecutor.RemoteExecutionException : Remote process failed with an unhandled exception.
Child exception:
System.Security.Cryptography.CryptographicException: Cannot find the original signer.
at System.Security.Cryptography.X509Certificates.OpenSslPkcsFormatReader.TryReadPkcs7(...) in /_/src/libraries/System.Security.Cryptography/src/System/Security/Cryptography/X509Certificates/OpenSslPkcsFormatReader.cs:line 221
at System.Security.Cryptography.Xml.KeyInfoX509Data.LoadXml(XmlElement element) in /_/src/libraries/System.Security.Cryptography.Xml/src/System/Security/Cryptography/Xml/KeyInfoX509Data.cs:line 265
at System.Security.Cryptography.Xml.Tests.KeyInfoX509DataTest.AssertCertificateContentType(X509ContentType contentType, Boolean allowNonCertificate) in /_/src/libraries/System.Security.Cryptography.Xml/tests/KeyInfoX509DataTest.cs:line 215
Child arguments:
Pkcs7, true
Observed behavior
The Pkcs7 case with switchValue: "true" fails in the 15 listed Unix configurations. The representative Linux failure reaches KeyInfoX509Data.LoadXml, where certificate import throws CryptographicException: Cannot find the original signer.
Activity
dotnet-policy-service commentedon Oct 19, 2026
Tagging subscribers to this area: @bartonjs, @vcsjones, @dotnet/area-system-security
See info in area-owners.md if you want to be subscribed.
[release/8.0] Fix PKCS#7 and deep XML tests (#136200)