Skip to content

Add support for Static CT API entry bundle paths#178

Merged
AlCutter merged 9 commits intotransparency-dev:mainfrom
AlCutter:ct_data_paths
Aug 29, 2024
Merged

Add support for Static CT API entry bundle paths#178
AlCutter merged 9 commits intotransparency-dev:mainfrom
AlCutter:ct_data_paths

Conversation

@AlCutter
Copy link
Collaborator

@AlCutter AlCutter commented Aug 28, 2024

This PR adds support to Tessera for storing CT entry bundles in under data.

The Static CT API defines leaf entry bundles as being stored under a tiles/data path. This is incompatible with the tlog-tiles spec which defines that path as tiles/entries.

This PR adds a CT-only storage option, WithCTLayout, which instructs storage implementations to use the Static CT API path.

A strong goal of this PR was to make it impossible for users of Tessera to implement arbitrary layout schemes, or accidentally use the CT layout without a clear signal that this is what they are doing.

Fixes #171

@AlCutter AlCutter requested a review from phbnf August 28, 2024 15:46
@AlCutter AlCutter marked this pull request as ready for review August 28, 2024 17:08
@AlCutter AlCutter merged commit 55b832f into transparency-dev:main Aug 29, 2024
@AlCutter AlCutter deleted the ct_data_paths branch August 29, 2024 10:22
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.

Tessera needs to support CT tile/data path

3 participants