Skip to content

Commit ad0f82b

Browse files
Merge pull request #100 from joshuagl/joshuagl/minor-clarifications
Minor clarifications
2 parents a215c53 + 7d46ad9 commit ad0f82b

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

tuf-spec.md

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# <p align="center">The Update Framework Specification
22

3-
Last modified: **4 May 2020**
3+
Last modified: **2 June 2020**
44

5-
Version: **1.0.2**
5+
Version: **1.0.3**
66

77
We strive to make the specification easy to implement, so if you come across
88
any inconsistencies or experience any difficulty, do let us know by sending an
@@ -428,7 +428,8 @@ repo](https://github.com/theupdateframework/specification/issues).
428428
/targets.json
429429

430430
Signed by the target role's keys. Lists hashes and sizes of target
431-
files.
431+
files. Specifies delegation information and trusted keys for delegated
432+
target roles.
432433

433434
/timestamp.json
434435

@@ -723,6 +724,8 @@ repo](https://github.com/theupdateframework/specification/issues).
723724
"meta" : METAFILES
724725
}
725726

727+
SPEC_VERSION, VERSION and EXPIRES are the same as is described for the root.json file.
728+
726729
METAFILES is an object whose format is the following:
727730

728731
{ METAPATH : {
@@ -797,6 +800,8 @@ repo](https://github.com/theupdateframework/specification/issues).
797800
("delegations" : DELEGATIONS)
798801
}
799802

803+
SPEC_VERSION, VERSION and EXPIRES are the same as is described for the root.json file.
804+
800805
TARGETS is an object whose format is the following:
801806

802807
{ TARGETPATH : {
@@ -818,6 +823,8 @@ repo](https://github.com/theupdateframework/specification/issues).
818823
It is allowed to have a TARGETS object with no TARGETPATH elements. This
819824
can be used to indicate that no target files are available.
820825

826+
LENGTH is the integer length in bytes of the target file at TARGETPATH.
827+
821828
HASHES is a dictionary that specifies one or more hashes, including the
822829
cryptographic hash function. For example: { "sha256": HASH, ... }. HASH is
823830
the hexdigest of the cryptographic function computed on the target file.
@@ -980,7 +987,9 @@ repo](https://github.com/theupdateframework/specification/issues).
980987
"meta" : METAFILES
981988
}
982989

983-
METAFILES is the same is described for the snapshot.json file. In the case
990+
SPEC_VERSION, VERSION and EXPIRES are the same as is described for the root.json file.
991+
992+
METAFILES is the same as described for the snapshot.json file. In the case
984993
of the timestamp.json file, this MUST only include a description of the
985994
snapshot.json file.
986995

0 commit comments

Comments
 (0)