Skip to content

Freeze canonicalization v1 behavior - #12

Merged
jt55401 merged 1 commit into
mainfrom
feat/canonicalization-v1-hardening
Aug 28, 2026
Merged

Freeze canonicalization v1 behavior#12
jt55401 merged 1 commit into
mainfrom
feat/canonicalization-v1-hardening

Conversation

@jt55401

@jt55401 jt55401 commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

Summary

  • align all five bindings on v1 resource, parser, claim, and JCS error precedence
  • reject negative zero and negative underflow consistently
  • apply output ceilings after final canonical text normalization
  • add shared adversarial fixtures, including numeric claim names and malformed surrogate JSON

Validation

  • HTMLTRUST_TEST_SESSION_ID=canon_v1_final_20260828 CARGO_TARGET_DIR=/mnt/bulk/cargo-targets/htmltrust/canonicalization-v1-hardening-final-20260828 ./scripts/test-in-docker.sh
  • all five bindings passed unit tests and all 123 shared conformance fixtures
  • git diff --check

@jt55401
jt55401 merged commit b0c8f30 into main Aug 28, 2026
6 checks passed
@jt55401
jt55401 deleted the feat/canonicalization-v1-hardening branch August 28, 2026 08:47
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