Skip to content

Align reference implementation with Draft 04 - #13

Merged
litzki-systems merged 10 commits into
mainfrom
draft-04-conformance
Oct 8, 2026
Merged

litzki-systems merged 10 commits into
mainfrom
draft-04-conformance

Conversation

@litzki-systems

Copy link
Copy Markdown
Owner

Summary

Align the reference implementation with the accepted draft-litzki-sovp-04 specification.

Changes

  • Add optional host binding to verify_identity() and enforce it in validate_domain().
  • Require freshness.created and freshness.expiresAt for schema v2.0 documents.
  • Validate timestamp format, expiry ordering, clock skew, and expiry.
  • Generate a default one-hour expiresAt for v2.0 identity documents.
  • Enforce the 600-second issuance window when timestamp checking is enabled.
  • Restrict the legacy endpoint fallback to HTTP 404 from the well-known endpoint.
  • Add regression tests for host binding, v2.0 freshness, expiry, and retrieval behavior.
  • Keep the existing fixed cryptographic test vectors intact.

Instance binding remains outside this change set, consistent with the implementation-status note in Draft 04.

@litzki-systems
litzki-systems merged commit 24c51f0 into main Oct 8, 2026
3 checks passed
@litzki-systems
litzki-systems deleted the draft-04-conformance branch October 8, 2026 00:40
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