Skip to content

ra: write MTC fields to order - #9023

Merged
jsha merged 3 commits into
mainfrom
ra-writes-mtc-to-order
Sep 22, 2026
Merged

jsha merged 3 commits into
mainfrom
ra-writes-mtc-to-order

Conversation

@jsha

@jsha jsha commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

In the process, consolidate on returning (mtcLogID, mtcSerialNumber), not (mtcLogID, mtcEntryIndex). It's redundant but those two pieces of information are the most broadly useful ones. We don't want anyone outside the MTCA / MTCB doing bit math to make serial numbers.

Rearrange test setup for the SA slightly: reset feature flags in a cleanup step, not at the beginning of initSA. That allows us to set a feature flag that takes effect at database setup time.

Fixes #8912

@jsha
jsha force-pushed the ra-writes-mtc-to-order branch from ba87d46 to 8319d2f Compare September 12, 2026 04:12
@jsha
jsha marked this pull request as ready for review September 17, 2026 04:25
@jsha
jsha requested a review from a team as a code owner September 17, 2026 04:25
@jsha
jsha requested a review from aarongable September 17, 2026 04:25
@github-actions

Copy link
Copy Markdown
Contributor

@jsha, 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.

1 similar comment
@github-actions

Copy link
Copy Markdown
Contributor

@jsha, 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.

@github-actions

Copy link
Copy Markdown
Contributor

@jsha, this PR adds one or more new feature flags: OrderModelHasMTCFields. As such, this PR must be accompanied by a review of the Let's Encrypt CP/CPS to ensure that our behavior both before and after this flag is flipped is compliant with that document.

Please conduct such a review, then add your findings to the PR description in a paragraph beginning with "CPS Compliance Review:".

@beautifulentropy beautifulentropy left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

One small error message nit, otherwise this all looks good to me.

Comment thread ra/ra.go Outdated
aarongable
aarongable previously approved these changes Sep 21, 2026
Comment thread mtca/mtca_test.go Outdated
Comment thread mtca/mtca.go Outdated
@jsha
jsha dismissed stale reviews from aarongable and beautifulentropy via 63c7e05 September 22, 2026 22:11
@beautifulentropy
beautifulentropy self-requested a review September 22, 2026 23:39
@jsha
jsha merged commit e530f2a into main Sep 22, 2026
52 of 54 checks passed
@jsha
jsha deleted the ra-writes-mtc-to-order branch September 22, 2026 23:46
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.

sa/ra: store mtcLogID and mtcEntryIndex on order objects

3 participants