Skip to content

tlog: Add shared primitives for MTC transparency logs#8792

Draft
beautifulentropy wants to merge 1 commit into
mainfrom
tlog
Draft

tlog: Add shared primitives for MTC transparency logs#8792
beautifulentropy wants to merge 1 commit into
mainfrom
tlog

Conversation

@beautifulentropy

@beautifulentropy beautifulentropy commented Jun 9, 2026

Copy link
Copy Markdown
Member

Add tlog, a library that three forthcoming components will share: the MTCA, which writes the tree; the MTPublisher, which reads it and pushes it to mirrors; and the tlog-mirror-test-srv, which receives it and provides cosignatures. It implements the common parts of the C2SP tlog-tiles, tlog-checkpoint, and tlog-cosignature specifications, plus the Merkle Tree Certificate subtree extension.

Most of the primitives come from golang.org/x/mod/sumdb/tlog and golang.org/x/mod/sumdb/note, which already cover RFC 6962 hashing, proofs, tile reading, and signed notes. This package adds the rest:

  • Parse, format, and verify checkpoints
  • Sign and verify (Ed25519) tlog-cosignatures
  • Generate and verify MTC subtree consistency proofs
  • Frame entry bundles
  • Convert tile coordinates to and from tlog-tiles paths

Proof generation reads hashes through a caller-supplied tlog.HashReader, verification takes only public keys, and signing goes through a caller-supplied note.Signer.

@beautifulentropy beautifulentropy force-pushed the tlog branch 10 times, most recently from e009da2 to f1fa2e6 Compare June 10, 2026 20:45
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