Skip to content

Commit cc00f7f

Browse files
joshuagllukpueh
authored andcommitted
LENGTH isn't optional in timestamp.json for snapshot.json
In step 3 of the client application detailed workflow the spec states that the client download "up to the number of bytes specified in the timestamp metadata file" which suggests that LENGTH is not optional in the METAFILES entry for snapshot.json in the timestamp.json file. Signed-off-by: Joshua Lock <[email protected]>
1 parent 4db06fc commit cc00f7f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tuf-spec.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -975,9 +975,9 @@ repo](https://github.com/theupdateframework/specification/issues).
975975
"meta" : METAFILES
976976
}
977977

978-
METAFILES is the same is described for the snapshot.json file. In the case
979-
of the timestamp.json file, this MUST only include a description of the
980-
snapshot.json file.
978+
METAFILES is the same as is described for the snapshot.json file. In the
979+
case of the timestamp.json file, this MUST only include a description of the
980+
snapshot.json file and the LENGTH of the snapshot.json file is REQUIRED.
981981

982982
A signed timestamp.json example file:
983983

0 commit comments

Comments
 (0)