Skip to content

proof: implement MTCProof - #8907

Merged
beautifulentropy merged 4 commits into
mainfrom
mtcproof
Jul 29, 2026
Merged

proof: implement MTCProof#8907
beautifulentropy merged 4 commits into
mainfrom
mtcproof

Conversation

@jsha

@jsha jsha commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

This implements serialization and deserialization of the MTCProof structure, which will go in the signature field of MTCs.

It includes a function SigAlgEncoded() to generate the encoded SignatureAlgorithm that corresponds to MTC proofs. This could also go in the upcoming MTCLogEntry.ToMTC(), but since it relates specifically to proofs, it seemed to fit in this package. Opinions may vary!

The unittests were written by Claude, reviewed by me and lightly tweaked including comments.

Part of #8738

@jsha
jsha marked this pull request as ready for review July 27, 2026 22:43
@jsha
jsha requested a review from a team as a code owner July 27, 2026 22:43
@jsha
jsha requested a review from beautifulentropy July 27, 2026 22:43
aarongable
aarongable previously approved these changes Jul 28, 2026
Comment thread trees/proof/proof.go
Comment thread trees/proof/proof.go
Comment thread trees/proof/proof.go Outdated
@beautifulentropy
beautifulentropy merged commit bf68e09 into main Jul 29, 2026
17 of 18 checks passed
@beautifulentropy
beautifulentropy deleted the mtcproof branch July 29, 2026 22:41
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.

3 participants