Skip to content

Make response fields configurable to reduce trusted computing base#23

Merged
robstradling merged 1 commit into
mainfrom
dont_blindly_sign
Jun 9, 2026
Merged

Make response fields configurable to reduce trusted computing base#23
robstradling merged 1 commit into
mainfrom
dont_blindly_sign

Conversation

@robstradling

Copy link
Copy Markdown
Member

Add response.includeLogResponses (default: true), response.includeSCTList (default: false), and response.produceFinalTBSCert (default: false) config options to control which fields are included in submission responses.

Previously, finalTBSCertB64 and ctlint were always returned for precertificate submissions. As noted by Andrew Ayer, a CA that blindly signs the returned TBSCertificate is trusting ctsubmit with its signing key's output. These fields are now opt-in.

Add sctListB64 response field (opt-in) containing the pre-marshaled TLS-encoded SCT list, to assist CAs in constructing the final TBSCertificate themselves.

Validate on startup that at least one response field is enabled. Update REST API docs, OpenAPI spec, and HTML rendering accordingly.

Add response.includeLogResponses (default: true), response.includeSCTList
(default: false), and response.produceFinalTBSCert (default: false) config
options to control which fields are included in submission responses.

Previously, finalTBSCertB64 and ctlint were always returned for
precertificate submissions. As noted by Andrew Ayer, a CA that blindly
signs the returned TBSCertificate is trusting ctsubmit with its signing
key's output. These fields are now opt-in.

Add sctListB64 response field (opt-in) containing the pre-marshaled
TLS-encoded SCT list, to assist CAs in constructing the final
TBSCertificate themselves.

Validate on startup that at least one response field is enabled.
Update REST API docs, OpenAPI spec, and HTML rendering accordingly.
@robstradling robstradling merged commit 9ffe2b8 into main Jun 9, 2026
3 checks passed
@robstradling robstradling deleted the dont_blindly_sign branch June 9, 2026 19:59
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