Skip to content

testkit: add --days flag to the credential minter - #8

Merged
sumerjohal merged 1 commit into
mainfrom
fix/minter-validity-days
Aug 27, 2026
Merged

testkit: add --days flag to the credential minter#8
sumerjohal merged 1 commit into
mainfrom
fix/minter-validity-days

Conversation

@sumerjohal

Copy link
Copy Markdown
Collaborator

testkit: add --days flag to the credential minter

The non-expired test credentials were hardcoded to a 30-day window. The
copies committed into the ar2 verifier tests crossed that cliff on Aug 20:
test_valid_grant and three siblings began failing on every branch, and
worse, the tampered/revoked fixtures kept "passing" vacuously -- rejected
for expiry rather than for the property under test.

Companion ar2 PR re-mints those fixtures with --days 365 and adds a
conftest guard that fails loudly with the re-mint command when fixtures
approach expiry.

The non-expired test credentials were hardcoded to a 30-day window. The
copies committed into the ar2 verifier tests crossed that cliff on Aug 20:
test_valid_grant and three siblings began failing on every branch, and
worse, the tampered/revoked fixtures kept "passing" vacuously -- rejected
for expiry rather than for the property under test.

Companion ar2 PR re-mints those fixtures with --days 365 and adds a
conftest guard that fails loudly with the re-mint command when fixtures
approach expiry.

Co-authored-by: Cursor <cursoragent@cursor.com>
@sumerjohal
sumerjohal merged commit a221ea1 into main Aug 27, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant