1
1
# <p align =" center " >The Update Framework Specification
2
2
3
- Last modified: ** 4 May 2020**
3
+ Last modified: ** 2 June 2020**
4
4
5
- Version: ** 1.0.2 **
5
+ Version: ** 1.0.3 **
6
6
7
7
We strive to make the specification easy to implement, so if you come across
8
8
any inconsistencies or experience any difficulty, do let us know by sending an
@@ -428,7 +428,8 @@ repo](https://github.com/theupdateframework/specification/issues).
428
428
/targets.json
429
429
430
430
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.
432
433
433
434
/timestamp.json
434
435
@@ -723,6 +724,8 @@ repo](https://github.com/theupdateframework/specification/issues).
723
724
"meta" : METAFILES
724
725
}
725
726
727
+ SPEC_VERSION, VERSION and EXPIRES are the same as is described for the root.json file.
728
+
726
729
METAFILES is an object whose format is the following:
727
730
728
731
{ METAPATH : {
@@ -797,6 +800,8 @@ repo](https://github.com/theupdateframework/specification/issues).
797
800
("delegations" : DELEGATIONS)
798
801
}
799
802
803
+ SPEC_VERSION, VERSION and EXPIRES are the same as is described for the root.json file.
804
+
800
805
TARGETS is an object whose format is the following:
801
806
802
807
{ TARGETPATH : {
@@ -818,6 +823,8 @@ repo](https://github.com/theupdateframework/specification/issues).
818
823
It is allowed to have a TARGETS object with no TARGETPATH elements. This
819
824
can be used to indicate that no target files are available.
820
825
826
+ LENGTH is the integer length in bytes of the target file at TARGETPATH.
827
+
821
828
HASHES is a dictionary that specifies one or more hashes, including the
822
829
cryptographic hash function. For example: { "sha256": HASH, ... }. HASH is
823
830
the hexdigest of the cryptographic function computed on the target file.
@@ -980,7 +987,9 @@ repo](https://github.com/theupdateframework/specification/issues).
980
987
"meta" : METAFILES
981
988
}
982
989
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
984
993
of the timestamp.json file, this MUST only include a description of the
985
994
snapshot.json file.
986
995
0 commit comments