Repository navigation
Conversation
The spec had two KEYID definitions, one for the signatures array and one in root.json, with the hashing rule in the first and the client checks in the second. Merge them into a single KEYID next to KEY in the key objects section and point every reference at it. No change in meaning. Fixes theupdateframework#323 Signed-off-by: Srinivas Chippagiri <cvas22@gmail.com>
This was referenced Nov 23, 2026
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #323
Same idea as #322 for THRESHOLD. KEYID was defined twice, once under the signatures array (the sha256 of the canonical key) and once in root.json (the client MUST checks), and refs were split between the two. I moved it to one KEYID definition in the key objects section, next to KEY, kept the existing MUST text, and pointed all the refs at it. The "keyid" entry under signatures now just links to it and keeps the uniqueness rule, and root.json gets a short pointer like DELEGATIONS already has.
I didn't touch the signatures uniqueness MUST vs SHOULD wording since that's #308 and probably wants its own discussion. Bumped to 1.0.38 and the date per the README. I haven't built it with bikeshed locally, so leaning on CI for that.