Skip to content

db: add checkpointSubtrees table - #8990

Open
jsha wants to merge 3 commits into
mainfrom
subtrees-schema
Open

db: add checkpointSubtrees table#8990
jsha wants to merge 3 commits into
mainfrom
subtrees-schema

Conversation

@jsha

@jsha jsha commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

To generate a standalone certificate, we need to map an order / MTC serial number to a subtree that (a) contains that serial number and (b) will eventually get a mirror signature written to it by the mtpublisher.

Add a new table to store (up to) two subtrees per checkpoint, covering the entries between that checkpoint and the previous one.

Also add an mtcSubtreeID field to order objects.

Adds more documentation about what's stored in the checkpoints.mirrorSignature and checkpoints.mtcaSignature fields, with a TODO to change what's stored there.

jsha added 2 commits August 28, 2026 14:04
To generate a standalone certificate, we need to map an order / MTC serial
number to a subtree that (a) contains that serial number and (b) will
eventually get a mirror signature written to it by the mtpublisher.

Add a new table to store (up to) two subtrees per checkpoint, covering the
entries between that checkpoint and the previous one.

Also add an `mtcSubtreeID` field to order objects.

Adds more documentation about what's stored in the `checkpoints.mirrorSignature`
and `checkpoints.mtcaSignature` fields, with a TODO to change what's stored
there.
@jsha
jsha marked this pull request as ready for review September 1, 2026 17:20
@jsha
jsha requested a review from a team as a code owner September 1, 2026 17:20
@jsha
jsha requested a review from ezekiel September 1, 2026 17:20
Comment thread sa/db/01-mtcmeta_44947_4_1_0_44.sql
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