Skip to content

Commit

Permalink
Add repository metadata generation sequence
Browse files Browse the repository at this point in the history
Specify in which order metadata should be generated and made available on
the repository.

Fixes: theupdateframework#105

Signed-off-by: Joshua Lock <[email protected]>
  • Loading branch information
joshuagl committed Oct 6, 2020
1 parent 66e061d commit 92f5cbc
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions tuf-spec.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# <p align="center">The Update Framework Specification

Last modified: **30 September 2020**
Last modified: **06 October 2020**

Version: **1.0.9**
Version: **1.0.10**

We strive to make the specification easy to implement, so if you come across
any inconsistencies or experience any difficulty, do let us know by sending an
Expand Down Expand Up @@ -462,6 +462,19 @@ repo](https://github.com/theupdateframework/specification/issues).
Delegated target roles are authorized by the keys listed in the directly
delegating target role.

* **3.2 Repository metadata creation**

Metadata SHOULD be generated in the following sequence, in order to ensure
that metadata are not referenced in the repository before they have been
created. The below sequence assumes that all targets files referenced by
the metadata are available to the repository before the metadata is written.

* **3.2.1** Sign and write any delegated targets metadata (DELEGATED_ROLE.EXT)
* **3.2.2** Sign and write root metadata (root.EXT)
* **3.2.3** Sign and write top-level targets metadata (targets.EXT)
* **3.2.4** Sign and write snapshot metadata (snapshot.EXT)
* **3.2.5** Sign and write timestamp metadata (timestamp.EXT)

## **4. Document formats**

All of the formats described below include the ability to add more
Expand Down

0 comments on commit 92f5cbc

Please sign in to comment.