feat: add DCAP collateral and PCK cert expiry checker - #107
Merged
butler54 merged 2 commits intoAug 20, 2026
Conversation
…xpiry Checks three sources on the live cluster: 1. platform_collaterals.json in trustee-operator-system (TCB info, QE identity issueDate/nextUpdate) 2. PCK cache secrets in intel-dcap-operator-system (embedded TCB expiry from binary pcsclient.py cache output) 3. Platform data secrets (QE ID presence) Reports OK/EXPIRING (<7d)/EXPIRED with days remaining. Exit 1 on issues. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- check-collateral-expiry.sh: trustee-operator-system collateral (TCB info, QE identity nextUpdate from platform_collaterals.json) - check-pck-expiry.sh: intel-dcap-operator-system PCK cache (embedded TCB expiry from binary blob) + platform-data QE ID Both accept namespace as optional $1 argument. Co-Authored-By: Claude Opus 4.6 (1M context) <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.
Summary
Adds
scripts/check-dcap-expiry.sh— a verification script that checks whether deployed TDX DCAP collateral and PCK certificates are expired or expiring.Checks three sources on the live cluster:
trustee-operator-system/tdx-collateral): parsesplatform_collaterals.jsonfor all TCB info and QE identitynextUpdatedatesintel-dcap-operator-system/<qe_id>-pck): extracts embedded TCB expiry from the binarypcsclient.py cacheoutputOutput: color-coded OK (>7d) / EXPIRING (<7d) / EXPIRED with days remaining. Exit 1 on issues.
Test plan
🤖 Generated with Claude Code