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

Does each of the root metadata roles require at least one keyid, and a threshold >= 1? #251

Open
erickt opened this issue Sep 24, 2022 · 1 comment

Comments

@erickt
Copy link
Contributor

erickt commented Sep 24, 2022

In the root.json part of the spec, it states that it is required to have a role defined for root, targets, snapshot, timestamp, and optionally mirror. However in the section for keyid, it does not explicitly state that each role needs to have at least one keyid. Should it? Presumably we should, otherwise we would allow for unsigned metadata.

Likewise, should we also require that threshold must be greater than or equal to one?

@trishankatdatadog
Copy link
Member

Agreed!

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

No branches or pull requests

2 participants