Open cpu opened 3 months ago
I think that the mock suite's root expired the other day:
This might explain the test failure on Android (as it couldn't find a valid certification path), but I'm not sure what's happening on the Windows side yet.
I'm not sure what's happening on the Windows side yet.
Interestingly regenerating the expired root/intermediate also fixed the Windows build task.
I notice all the failures are related to stapled OCSP with revoked status. Is it possible that the Windows verifier doesn't consider revocation in that circumstance when the certificate chain is otherwise invalid due to expiry? :thinking:
Interestingly regenerating the expired root/intermediate also fixed the Windows build task.
Yeah I considered just doing that but I'm slightly concerned about the root cause of seeing Ok(())
in the test output 😓.
Is it possible that the Windows verifier doesn't consider revocation in that circumstance when the certificate chain is otherwise invalid due to expiry?
That would match with some behavior I've seen before IIRC but I have no idea why the platform verifier was returning Ok(())
. I would have expected to see Err(Untrusted
(or something close enough to that).
I'm slightly concerned about the root cause of seeing Ok(()) in the test output 😓.
Agreed - my thought process here was that we should investigate this deeper but it won't be better having main
broken in the meantime.
Maybe I should cut a new issue specifically for this mystery so it won't get lost if this ticket gets closed with the CI fix?
I would have expected to see Err(Untrusted (or something close enough to that).
Also agreed :fearful:
With main
fixed, I updated the issue title to be more reflective that this is now for hunting down whatever Windows weirdness is happening.
Noticed CI is failing the Windows latest job:
And the Android task:
I won't have time to look into this right away, so filing for a rainy day.