1 minor finding · 3 suggestions
Earlier concerns neither republished nor resolved: 2 minor findings · 3 suggestions. See the Run archive for their assessments.
Findings
[minor] · Outsider-created issues can suppress certificate alerts
An account able to open issues can pre-file the public certificate's warning text and suppress matching workflow alerts, even after a maintainer closes that issue as spam.
Location: .github/workflows/code-signing-certificate.yml:54 (head).
Details and suggested fix
The duplicate lookup accepts any issue titled Code signing certificate warning whose body contains REPORT, without checking its author. The certificate-derived details are public, and one body can contain both the expiry and revocation variants. Because --state all includes closed issues, closing the pre-filed issue still makes later matching runs exit successfully without creating an alert. Suppression lasts while the matching issue remains searchable and unchanged; editing or deleting it removes the match, and renewing the certificate changes the report. Filter acknowledgements to issues created by the workflow's own identity. Closed workflow-created issues can still acknowledge a warning.
Optional improvements
[suggestion] · Persistent check failures have no issue-reporting path
Persistent check failures remain visible as failed Actions runs but never create an issue, leaving no separate issue-based signal that certificate monitoring needs repair.
Location: .github/workflows/code-signing-certificate.yml:40 (head).
Details and suggested fix
Only status 3 sets warning=true; CRL download or verification failures return 2 and skip issue creation. Extension-check, tooling, and checkout failures likewise end the run without an issue. CRL-only failures affect revocation monitoring, not expiry alerts, because the expiry-warning branch skips CRL access; failures before that branch can block both. Add an if: failure() step that opens or updates a separate, deduplicated check-failure issue linking the run, optionally after repeated failures to avoid transient-outage noise. Keep it distinct from certificate-replacement alerts. This cannot report a broken gh or a schedule that stops running.
[suggestion] · Only the first advertised CRL endpoint is tried
An unavailable first CRL endpoint makes revocation monitoring inconclusive even if the advertised alternate works; no outage was observed, and expiry alerts bypass CRL fetching.
Location: contrib/devtools/check-code-signing-certificates.py:42 (head).
Details and suggested fix
The leaf advertises the same CRL path on crl3.digicert.com and crl4.digicert.com, but re.search retains only the first URI. If that fetch fails, main() returns 2 without trying the alternate. Collect the URIs with re.findall and try them in order after transport failures or inconclusive verification. Stop on a clean verification or confirmed sole leaf revocation, and return 2 only when every endpoint is inconclusive. A successful download alone must not count as a pass; retain the authenticity and freshness checks.
[suggestion] · Revocation-versus-failure classification has no deterministic tests
No deterministic test checks whether openssl verify diagnostics produce a revocation warning or an operational failure, so checking an unrevoked leaf cannot validate that distinction.
Location: contrib/devtools/check-code-signing-certificates.py:77 (head).
Details and suggested fix
The parser accepts exactly [("23", "0")] as revocation. Other nonzero verification results become status 2, while the workflow opens an issue only for status 3. Add an offline test using a throwaway CA trusted through SSL_CERT_FILE, an otherwise valid leaf outside the 90-day warning window, locally signed CRLs, and mocked urlopen. Assert status 0 for a clean CRL, 3 for a revoked leaf, and 2 for a stale CRL containing the serial, a bad CRL signature, or a fetch exception. Separately assert that an expiring leaf returns 3 without attempting a download. Wire the test into an automated test entry point; captured diagnostics alone would not establish compatibility with future OpenSSL formats.
Earlier concerns
Earlier reports raised these, with the titles and severities shown there. This review neither republished nor resolved them.
- [minor]: Closing the warning suppresses the later expired-certificate alert (earlier report)
- [minor]: A checkend-only failure is classified as certificate expiry (earlier report)
- [suggestion]: CRL verification depends on the runner's default trust store (earlier report)
- [suggestion]: Revocation inside the expiry window produces no new alert (earlier report)
- [suggestion]: A failed certificate check would suppress another certificate's warning issue (earlier report)