feat: LoTL trust anchor expiration checks - #132
Open
peppelinux wants to merge 1 commit into
Open
peppelinux wants to merge 1 commit into
peppelinux wants to merge 1 commit into
Conversation
andrea-dintino
approved these changes
Sep 5, 2026
andrea-dintino
left a comment
Collaborator
There was a problem hiding this comment.
All good, just keep in mind that you can also do this to inspect TLs and LoTLs:
cklugow
approved these changes
Sep 8, 2026
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces a certificate expiry check for the LoTL (List of Trusted Lists) automation system.
It adds a new scheduled GitHub Actions workflow to run expiry checks daily, extends the CLI and documentation to support and explain these checks, and ensures that expired or not-yet-valid X.509 certificates in trust anchors, signing certificates, or published LoTLs will cause CI or publication to fail. The main changes are organized as follows:
Certificate Expiry Checking (Core Logic and CLI):
tools/lotl/cert_expiry.pythat implements functions to check the validity of X.509 certificates in trust anchors, LoTL signing certificates, and published LoTL pointer certificates. If any are expired or not yet valid, errors are returned.tools/lotl/cli.pyto add a--check-expirycommand-line option, which runs expiry checks on all relevant certificates, and a--lotl-jsonoption to specify a published LoTL to check. The CLI now fails if any relevant certificate is expired. [1] [2] [3]producefunction intools/lotl/producer.pynow performs an expiry check on the signing certificate before producing artifacts, failing early if the cert is expired. [1] [2]CI Integration and Automation:
.github/workflows/lotl-cert-expiry.ymlthat runs daily and on demand, checking for expired certificates intl_entries, the LoTL signing cert, and the published LoTL..github/workflows/lotl-update.ymlto include expiry checks during the update process, and improved the validation step description to clarify that expiry is checked. [1] [2]Documentation Updates:
tools/lotl/README.mdandtask4-trust-infrastructure-api/lotl-automation-and-tl-integration.mdto document the new expiry check CLI options, describe how expiry checks work in CI and scheduled jobs, and clarify that expired trust anchors or signing certificates will fail validation and publication. [1] [2] [3] [4] [5]Settings:
PUBLISHED_LOTL_JSON_URLtotools/lotl/settings.pyfor use as the default published LoTL URL in scheduled expiry checks.