Skip to content

fix: enforce the complete manifest validity window - #292

Merged
imran-siddique merged 2 commits into
mainfrom
agent/enforce-manifest-validity-window
Aug 11, 2026
Merged

fix: enforce the complete manifest validity window#292
imran-siddique merged 2 commits into
mainfrom
agent/enforce-manifest-validity-window

Conversation

@imran-siddique

Copy link
Copy Markdown
Member

Summary

Enforce the normative validity condition issued_at <= now < expires_at. Previously the verifier checked only whether expires_at was in the past, so a correctly signed manifest with a future issued_at could be accepted as VALID.

Future-issued manifests now fail closed with a validity.issued_at mismatch. The expiry boundary is also exclusive as specified.

Tests

  • Added a regression test for a correctly signed future-issued manifest
  • Focused verification tests: 51 passed
  • Full suite: 849 passed, 4 skipped
  • mypy: clean
  • git diff --check: clean

Documentation

  • Updated the server verification tutorial to describe the complete validity-window check
  • Added an Unreleased security changelog entry

@imran-siddique
imran-siddique marked this pull request as ready for review August 11, 2026 16:01
@imran-siddique
imran-siddique merged commit b33090b into main Aug 11, 2026
13 checks passed
@imran-siddique
imran-siddique deleted the agent/enforce-manifest-validity-window branch August 11, 2026 16:07
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