Repository navigation
feat(vindex/mapfn/mtc): add draft-08 MTC MapFn (v8) alongside legacy bootstrap (v0) - #208
Merged
Merged
Conversation
…bootstrap (v0) - Move legacy Cloudflare bootstrap MTC MapFn to vindex/mapfn/examples/mtc/v0/ (mtc-v0.wasm). - Add vindex/mapfn/examples/mtc/v8/ (mtc-v8.wasm) supporting draft-ietf-plants-merkle-tree-certs-08 (and wire-compatible -07): parses extensions<0..2^16-1>, 2-byte entry type, and contents-only TBSCertificateLogEntry DER (no outer SEQUENCE, includes subjectPublicKeyAlgorithm). - Update e2e WASM test helper to support nested example paths (mtc/v0). - Consolidate vindex/mapfn/examples/mtc/README.md with v8 vs v0 support matrix, live CQRP DRAFT07/DRAFT08 test log table, cosigners.pem -> C2SP ML-DSA-44 vkey conversion, and runnable vindexd/vindex-client examples.
patflynn
approved these changes
Dec 2, 2026
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
vindex/mapfn/examples/mtc/v0/(mtc-v0.wasm) to preserve compatibility withbootstrap-mtca-shard3.vindex/mapfn/examples/mtc/v8/(mtc-v8.wasm) supportingdraft-ietf-plants-merkle-tree-certs-08(and wire-compatible-07) /c2sp.org/mtc-tlog@v0.1.0:MTCLogEntryExtension extensions<0..2^16-1>before reading the 2-byteMTCLogEntryType.tbs_cert_entry_dataas DER contents octets (no outer0x30SEQUENCEwrapper) withsubjectPublicKeyAlgorithmpresent.mustExampleWASMHostinvindex/internal/e2e/e2e_test.goto handle nested example paths (mtc/v0).vindex/mapfn/examples/mtc/README.mdwith:v8vsv0.DRAFT07/DRAFT08test logs (TrustAsia Test CA 3/4,mtcs.dev Test CA 2,DigiCert Test CA 1,Sectigo Test CA 1).cosigners.pementries into C2SP ML-DSA-44 vkeys and runnablevindexd/vindex-clientexamples.bootstrap-mtca-shard3v0instructions.Testing
go test ./vindex/mapfn/examples/mtc/...(unit + WASM host tests forv0&v8) — PASSgo test -run TestE2E_MTCPersonality_GoldenLeavesAndAuditor ./vindex/internal/e2e— PASSgo vet ./...— PASSvindex-clientexact + prefix verification against CQRPTrustAsia Test CA 3(https://log.mtc-staging.trustasia.com/44494.3.1.3/1, 52/52 leaves indexed, 42 keys extracted, ML-DSA-44 checkpoint verified) — PASS