Skip to content

Conversation

mcpherrinm
Copy link
Contributor

@mcpherrinm mcpherrinm commented Sep 29, 2025

Switch to outputting the new checksum format.

Part of #8414


Warning

Do not merge before #8415 has been deployed

This adds a new log checksum format without the variable-width integer encoding
currently used in Boulder. It's still CRC32, just encoded directly into base64
instead of with an extra layer of varint-encoding. Note that despite using the
varint encoding, Boulder always writes the full buffer out, so it's zero-padded
to 7 bytes.

This doesn't switch to using the new format yet, but just accepts it in the log
validator.

This is change 1/3 in a sequence:

* Allow new format
* Switch to new format
* Remove support for old format.

Each of these 3 changes should land one release apart.
Update test case to use the same string
This must be in a release after #8413

It is the 2nd of three changes switching the checksum algorithm.
@mcpherrinm mcpherrinm marked this pull request as ready for review September 29, 2025 19:54
@mcpherrinm mcpherrinm requested a review from a team as a code owner September 29, 2025 19:54
@mcpherrinm mcpherrinm requested a review from jprenken September 29, 2025 19:54
@mcpherrinm
Copy link
Contributor Author

I'm not going to bother to resolve merge conflicts here until after #8415 lands

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.

2 participants