Skip to content

feat(vindex/mtc): add MTC MapFn example and clonelog CLI - #194

Merged
mhutchinson merged 1 commit into
transparency-dev:mainfrom
mhutchinson:vindex/mtc-clonelog
Nov 17, 2026
Merged

mhutchinson merged 1 commit into
transparency-dev:mainfrom
mhutchinson:vindex/mtc-clonelog

Conversation

@mhutchinson

Copy link
Copy Markdown
Contributor

Summary

Adds the Merkle Tree Certificates (mtc) WASM MapFn example and the clonelog tile-mirroring CLI:

  • vindex/mapfn/examples/mtc:
    • Zero-allocation WASM MapFn parsing draft-ietf-plants-merkle-tree-certs TLS leaf vectors and ASN.1 DER Subject commonName + SAN dNSName fields into reversed-DNS canonical keys (com.example.host.), with IDNA2008 Punycode normalization and 32-bit WASM bounds safety.
    • Golden test vectors and wasip1 host execution tests.
  • vindex/cmd/clonelog:
    • Concurrent C2SP tlog-tiles cloner mirroring entry bundles and Merkle hash tiles (tile/0..H) for local file:// ingestion and offline auditing.
    • Enforces fail-closed checkpoint signature verification by default (--input_log_policy / --input_log_pubkey, or explicit --insecure_skip_verify), split-view/regression checks against existing local checkpoints, bounded HTTP reads, and partial-to-full fallback without corrupting .p/<W> paths.

- Add zero-dependency Merkle Tree Certificates (MTC) WASM MapFn example with TLS vector and ASN.1 DER Subject/SAN extraction, IDNA Punycode normalization, and golden/WASM tests (vindex/mapfn/examples/mtc).
- Add clonelog CLI to mirror C2SP tlog-tiles checkpoints, entry bundles, and Merkle hash tiles with signature and split-view verification (vindex/cmd/clonelog).
@mhutchinson
mhutchinson requested a review from patflynn November 17, 2026 16:09
@mhutchinson
mhutchinson merged commit 28790bc into transparency-dev:main Nov 17, 2026
12 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.

2 participants