Skip to content

trees/issuancelog: Add a shared log identity configuration - #8950

Open
beautifulentropy wants to merge 1 commit into
mainfrom
paving-a-path-to-a-proper-publisher-03
Open

trees/issuancelog: Add a shared log identity configuration#8950
beautifulentropy wants to merge 1 commit into
mainfrom
paving-a-path-to-a-proper-publisher-03

Conversation

@beautifulentropy

@beautifulentropy beautifulentropy commented Aug 17, 2026

Copy link
Copy Markdown
Member

Consolidate the configuration of the CAID and LogNumer into a single struct used by both the MTCA and MTPublisher. Also use the newer CA ID rather than MTCA ID.

Closes #8952

@beautifulentropy
beautifulentropy marked this pull request as ready for review August 17, 2026 21:18
@beautifulentropy
beautifulentropy requested a review from a team as a code owner August 17, 2026 21:18
@github-actions

Copy link
Copy Markdown
Contributor

@beautifulentropy, this PR appears to contain configuration and/or SQL schema changes. Please ensure that a corresponding deployment ticket has been filed with the new values.

@beautifulentropy
beautifulentropy marked this pull request as draft August 17, 2026 21:19
@beautifulentropy
beautifulentropy force-pushed the paving-a-path-to-a-proper-publisher-03 branch from b01ef71 to 366942a Compare August 17, 2026 21:28
@beautifulentropy
beautifulentropy marked this pull request as ready for review August 17, 2026 21:29
// they configure themselves with from it.
//
// https://ietf-plants-wg.github.io/merkle-tree-certs/draft-ietf-plants-merkle-tree-certs.html#name-issuance-logs
type ID struct {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because this is a config struct, I have a preference for not also using it as a long-lived object, and instead having a separate ID object whose fields are unexported so it is immutable once loaded from the config.

But I also recognize that's significantly more boilerplate in this file, for a layer of abstraction that's probably not strictly necessary yet, so consider this optional feedback.

mirrorID = "32473.9"
)

var testLogID = issuancelog.ID{CAID: "44947.4.1", LogNumber: 44}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: we should stop using 44 as our test log number, since Chrome is going to limit us to log numbers 0 through 4 and we'll want to enforce that invariant somewhere.

@aarongable
aarongable requested a review from ezekiel August 17, 2026 21: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.

trees/issuancelog: Add a shared log identity configuration

2 participants