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

Snapshotting doesn't verify the root.json manifest. #292

Closed
asraa opened this issue May 17, 2022 · 3 comments · Fixed by #293
Closed

Snapshotting doesn't verify the root.json manifest. #292

asraa opened this issue May 17, 2022 · 3 comments · Fixed by #293

Comments

@asraa
Copy link
Contributor

asraa commented May 17, 2022

Currently Snapshot will verify signatures on all snapshotted manifests, but does not require verifying the root.json because root is no longer included in the Snapshot. (see #203)

Root.json was removed from snapshot.json here: https://github.com/theupdateframework/taps/blob/master/tap5.md#security-analysis

Should repo managers verify that root.json is valid before snapshotting? As a matter of robustness? Or should we handle this in our own client.

It seems odd to use the DBs from root to verify sigs on snapshotted manifests if the root is not properly signed.

See sigstore/root-signing#238

@JustinCappos
Copy link
Member

JustinCappos commented May 19, 2022 via email

@joshuagl
Copy link
Member

Agreed that repository tooling should be verifying metadata as the tools proceeds through repository operations.

@asraa
Copy link
Contributor Author

asraa commented May 19, 2022

Awesome, the PR opened should do so!

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 a pull request may close this issue.

3 participants