Skip to content

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

Merged
mhutchinson merged 2 commits into
transparency-dev:mainfrom
mhutchinson:cmd-tessera
Jul 16, 2025
Merged

Example binary showing log and map being co-hosted#8
mhutchinson merged 2 commits into
transparency-dev:mainfrom
mhutchinson:cmd-tessera

Conversation

@mhutchinson
Copy link
Copy Markdown
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
Comment thread vindex/cmd/logandmap/main.go Outdated
Comment thread vindex/cmd/logandmap/main.go Outdated
Comment thread vindex/cmd/logandmap/main.go Outdated
Comment thread vindex/cmd/logandmap/main.go
Comment thread vindex/cmd/logandmap/main.go
Comment thread vindex/cmd/logandmap/web.go Outdated
@mhutchinson
Copy link
Copy Markdown
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