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

Add support for Static CT API entry bundle paths #178

Merged
merged 9 commits into from
Aug 29, 2024

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

ct_only.go Outdated Show resolved Hide resolved
@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
10 checks passed
@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