You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Clarify whether Snapshot meta may contain an extra root.json entry #331
I have a narrow conformance question about TUF v1.0.37 (spec commit e2bc7d83d0740aaae8dd7133dd4f237ce3d86b16), section "File formats: snapshot.json" (tuf-spec.md L858-875). The spec defines METAFILES as a METAPATH -> {version, length?, hashes?} object and states: "For snapshot.json, these are top-level targets metadata and delegated targets metadata." The example (L917-934) lists only targets.json and delegated targets; root key update is handled separately in #update-root (L1310-1361).
However, the spec text does not appear to state explicitly whether an additional root.json entry in snapshot.signed.meta is (a) allowed, (b) forbidden, or (c) something clients MUST reject or MUST ignore.
Could you clarify:
Is such an extra root.json entry permitted by the v1.0.37 format, or is it a conformance violation?
If it is not permitted, MUST a conforming client reject the snapshot, or is it permitted to ignore the entry?
If the current specification does not decide this, would you recommend an errata/clarification path, and which venue should track it?
Motivation: a published repository publishes snapshot.signed.meta["root.json"] with version: 2, length: 5297, and a matching SHA-256 digest. I am asking only for the normative interpretation; I am not asking for a security assessment of that repository. Please let me know if an existing issue already covers this — I found #144/#103/#150 but none appears to answer this specific question.
Activity