Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issuance: add new IncludeCRLDistributionPoints bool #7985

Merged
merged 6 commits into from
Jan 30, 2025

Conversation

jsha
Copy link
Contributor

@jsha jsha commented Jan 29, 2025

To achieve this without breaking hashes of deployed configs, create a ProfileConfigNew containing the new field (and removing some deprecated fields).

Move the CA's profile-hashing logic into the issuance package, and gate it on the presence of IncludeCRLDistributionPoints. If that field is false (the default), create an instance of the old ProfileConfig with the appropriate values and encode/hash that instead.

Note: the IncludeCRLDistributionPoints field does not yet control any behavior. That will be part of #7974.

Part of #7094

To achieve this without breaking hashes of deployed configs,
create a ProfileConfigNew containing the new field (and removing
some deprecated fields).

Move the CA's profile-hashing logic into the `issuance` package,
and gate it on the presence of IncludeCRLDistributionPoints. If
that field is false (the default), create an instance of the old
`ProfileConfig` with the appropriate values and encode/hash that
instead.
@jsha jsha marked this pull request as ready for review January 29, 2025 19:13
@jsha jsha requested a review from a team as a code owner January 29, 2025 19:14
@jsha jsha requested a review from beautifulentropy January 29, 2025 19:14
ca/ca.go Outdated Show resolved Hide resolved
issuance/cert.go Show resolved Hide resolved
issuance/cert.go Outdated Show resolved Hide resolved
@jsha jsha requested a review from a team January 30, 2025 18:39
@jsha jsha merged commit d93f0c3 into main Jan 30, 2025
12 checks passed
@jsha jsha deleted the add-includecrldistributionpoints branch January 30, 2025 19:48
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