Skip to content

Example binary showing log and map being co-hosted #8

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

Merged
merged 2 commits into from
Jul 16, 2025

Conversation

mhutchinson
Copy link
Contributor

This is a demo application that emulates a package repository. Each
entry in the log has a {module, version, hash}, and the map simply
enumerates all indices where a given module appears.

This uses Tessera POSIX implementation for the log, and hooks up the
LogReader for that as an InputLog to the Verifiable Index.

This starts a web server that hosts a form allowing a package name to be
input, and the list of indices are returned.

TODO (in a future PR):

  • Return inclusion proofs on vindex lookup
  • Implement an output log

@mhutchinson mhutchinson requested a review from AlCutter July 8, 2025 11:59
@mhutchinson mhutchinson force-pushed the cmd-tessera branch 2 times, most recently from 5eb2a56 to 932fc1c Compare July 9, 2025 08:53
This is a demo application that emulates a package repository. Each
entry in the log has a {module, version, hash}, and the map simply
enumerates all indices where a given module appears.

This uses Tessera POSIX implementation for the log, and hooks up the
LogReader for that as an InputLog to the Verifiable Index.

This starts a web server that hosts a form allowing a package name to be
input, and the list of indices are returned. Paths are:

 - /vindex/ : the verifiable index
 - /log/ : the log files, served via HTTP too

This will make it easier to prototype a demo client that will call into
this log/map combo.

TODO (in a future PR):
 - Return inclusion proofs on vindex lookup
 - Implement an output log
@mhutchinson
Copy link
Contributor Author

Hi @AlCutter - can you approve again if you're still happy? And if you know it, clap your hands? Ta.

@mhutchinson mhutchinson merged commit 39c3c19 into transparency-dev:main Jul 16, 2025
6 checks passed
@mhutchinson mhutchinson deleted the cmd-tessera branch July 16, 2025 14:27
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