Skip to content

Commit d97da38

Browse files
committed
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 <jlock@vmware.com>
1 parent 0f56aee commit d97da38

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
@@ -979,9 +979,9 @@ repo](https://github.com/theupdateframework/specification/issues).
979979
"meta" : METAFILES
980980
}
981981

982-
METAFILES is the same is described for the snapshot.json file. In the case
983-
of the timestamp.json file, this MUST only include a description of the
984-
snapshot.json file.
982+
METAFILES is the same as is described for the snapshot.json file. In the
983+
case of the timestamp.json file, this MUST only include a description of the
984+
snapshot.json file and the LENGTH of the snapshot.json file is REQUIRED.
985985

986986
A signed timestamp.json example file:
987987

0 commit comments

Comments
 (0)