Repository navigation
Check the PGP key's expiry and warn ahead of lapse (#133) - #134
Merged
Merged
Conversation
…133) Adds a pgp-key validate check (expired, revoked or unparseable key fails), a --horizon-days option for both expiry checks, and expiry-watch.yml, which keeps one issue open while anything is due. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
A weekly run cannot reliably catch a 5-day window, so the cadence goes daily. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
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.
Closes #133
Adds a
pgp-keyvalidate check (primary key and subkeys: expired, revoked or unparseable fails), a--horizon-days <n>option that makes both expiry checks (this and thesecurity.txtExpiresone) fail n days early, andexpiry-watch.yml, which runs daily with a 5-day horizon and keeps a singletype:choreissue open while anything is due, closing it when renewed. PR checks keep the default horizon of 0.The check shells out to
gpg(present on the runner); the parsing is a pure function over--with-colonsoutput and is unit tested.After merge, trigger the workflow once manually (
gh workflow run expiry-watch.yml) to confirm it stays quiet today: the key runs to 2028-06 andsecurity.txtto 2027-09.🤖 Generated with Claude Code