-
Notifications
You must be signed in to change notification settings - Fork 33
Description
Log external APIs reference leaves at four different points:
Add
requests: data clients sendAdd
responses: the index at which the leaf will eventually be integrated- Leaf bundles: where leaves contain the data sent by clients
- L0 tiles: listing hashes of leaves included in leaf bundles
Today, the conformance tool / hammer does not check that these four match with each other. For instance:
- A request to add data
X
, could return indexn
, and the entry later integrated at indexn
might not match
dataX
- The leaf at index
p
, might not match with the hash included in the tile at the corresponding position
After speaking with both @roger2hk and @mhutchinson about this, I'm not 100% convinced that the hammer in its current form would allow to implements {all, any of, some of} these checks, but let's at least discuss options.
Some of these can be implemented with integration tests (like other checks the hammer runs), but implementing them with a conformance binary supporting heavy load could ensure that a log implementation doesn't go off track, and that all the https://c2sp.org/tlog-tiles conformance checks live together.
There's precedent here, as we ran into some of these issues with static-ct.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status