Skip to content

Commit 8dc300f

Browse files
committed
Clarify which roles are listed in snapshot.json
1 parent 3048ac6 commit 8dc300f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

tuf-spec.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -711,8 +711,8 @@ repo](https://github.com/theupdateframework/specification/issues).
711711
* **4.4. File formats: snapshot.json**
712712

713713
The snapshot.json file is signed by the snapshot role. It lists the version
714-
numbers of all metadata on the repository, excluding root.json, timestamp.json and
715-
mirrors.json. The metadata length and hashes are OPTIONAL for the top-level and
714+
numbers of only the top-level targets and all delegated targets role metadata.
715+
The metadata length and hashes are OPTIONAL for the top-level targets and
716716
all delegated targets roles.
717717

718718
The "signed" portion of snapshot.json is as follows:
@@ -736,7 +736,8 @@ repo](https://github.com/theupdateframework/specification/issues).
736736
METAPATH is the metadata file's path on the repository relative to the
737737
metadata base URL.
738738

739-
VERSION is listed for all roles available on the repository.
739+
VERSION is listed for the top-level targets and all delegated targets roles
740+
available on the repository.
740741

741742
LENGTH is the integer length in bytes of the metadata file. It is
742743
OPTIONAL for all roles.

0 commit comments

Comments
 (0)