Skip to content

Commit d2bc296

Browse files
committed
Add repository metadata generation sequence
Specify in which order metadata should be generated and made available on the repository. Fixes: theupdateframework#105 Signed-off-by: Joshua Lock <[email protected]>
1 parent 66e061d commit d2bc296

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

tuf-spec.md

Lines changed: 15 additions & 2 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: **30 September 2020**
3+
Last modified: **06 October 2020**
44

5-
Version: **1.0.9**
5+
Version: **1.0.10**
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
@@ -462,6 +462,19 @@ repo](https://github.com/theupdateframework/specification/issues).
462462
Delegated target roles are authorized by the keys listed in the directly
463463
delegating target role.
464464

465+
* **3.2 Repository metadata creation**
466+
467+
Metadata SHOULD be generated in the following sequence, in order to ensure
468+
that metadata are not referenced in the repository before they have been
469+
created. The below sequence assumes that all targets files referenced by
470+
the metadata are available to the repository before the metadata is written.
471+
472+
* **3.2.1** delegated targets metadata (DELEGATED_ROLE.EXT)
473+
* **3.2.2** root metadata (root.EXT)
474+
* **3.2.3** top-level targets metadata (targets.EXT)
475+
* **3.2.4** snapshot metadata (snapshot.EXT)
476+
* **3.2.5** timestamp metadata (timestamp.EXT)
477+
465478
## **4. Document formats**
466479

467480
All of the formats described below include the ability to add more

0 commit comments

Comments
 (0)