Uh oh!
There was an error while loading. Please reload this page.
Ignore the DuplicateExtension status from macOS 12. - #58834
Conversation
MacOS 12 introduces a new X.509 chain status, DuplicateExtension. As we do not report this in Windows and nor do we have a flag to map it to, we ignore it from macOS.
ghost
commented
Sep 8, 2021
Tagging subscribers to this area: @bartonjs, @vcsjones, @krwq, @GrabYourPitchforks Issue DetailsMacOS 12 introduces a new X.509 chain status, An existing test in
|
danmoseley
commented
Sep 8, 2021
6.0 port I assume... |
I don't have a strong feeling one way or the other, so I'll defer to the area owners. This is an edge case that I am 1. impressed there was test coverage for at all and 2. the certificate violates RFC 5280 section 4.2:
So, Apple is rightfully picky about a MUST. That said, because it is against the spec, I do not believe many certificates like this exist, certainly not a certificate issued by a public CA. |
bartonjs
commented
Sep 9, 2021
Yeah, I'll open the port PR. Mainly so that if/when we turn on macOS 12 testing in the 6.0 release branch we don't have a test failure. |
bartonjs
commented
Sep 9, 2021
/backport to release/6.0 |
Started backporting to release/6.0: https://github.com/dotnet/runtime/actions/runs/1218282457 |
MacOS 12 introduces a new X.509 chain status,
DuplicateExtension. As we do not report this in Windows and nor do we have a flag to map it to, we ignore it from macOS.The existing test
TimestampTokenTests.TwoEkuExtensionscovers this scenario.Closes#58833.