Skip to content

Commit 3ca7683

Browse files
committed
Revert "97312dd" and "d97da38"
This reverts commits: - Clarify timestamp.json METAFILES format 97312dd - LENGTH isn't optional in timestamp.json for snapshot.json d97da38
1 parent 0c73d44 commit 3ca7683

File tree

1 file changed

+2
-23
lines changed

1 file changed

+2
-23
lines changed

tuf-spec.md

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

978-
METAFILES is an object whose format is the following:
979-
980-
{ METAPATH : {
981-
"version" : VERSION,
982-
"length" : LENGTH, |
983-
"hashes" : HASHES }
984-
, ...
985-
}
986-
987-
METAPATH is the snapshot.json file's path on the repository relative to the
988-
metadata base URL.
989-
990-
VERSION is the version of the snapshot metadata as listed in the
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
991980
snapshot.json file.
992981

993-
LENGTH is the integer length in bytes of the snapshot metadata file.
994-
995-
HASHES is the dictionary that specifies one or more hashes of the snapshot
996-
metadata file, including the cryptographic hash function. For example:
997-
{ "sha256": HASH, ... }.
998-
999-
Note: METAFILES is the same as is described for the snapshot.json file, only
1000-
the LENGTH and HASHES are not optional and in the case of the timestamp.json
1001-
file, this MUST only include a description of the snapshot.json file.
1002-
1003982
A signed timestamp.json example file:
1004983

1005984
{

0 commit comments

Comments
 (0)