Skip to content

Commit 47cb9c1

Browse files
committed
Update snapshot role definition
Update snapshot role definition in 2.1.3 and 3.1.2 to match the file format description (4.4) and explicitly state which metadata files must be listed in snapshot.json Signed-off-by: Teodora Sechkova <[email protected]>
1 parent 69b8456 commit 47cb9c1

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

tuf-spec.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -331,8 +331,8 @@ repo](https://github.com/theupdateframework/specification/issues).
331331
- **2.1.3 Snapshot role**
332332

333333
The snapshot role signs a metadata file that provides information about
334-
the latest version of all of the other metadata on the repository
335-
(excluding the timestamp file, discussed below). This information allows
334+
the latest version of all targets metadata on the repository
335+
(the top-level targets.json and all delegated roles). This information allows
336336
clients to know which metadata files have been updated and also prevents
337337
mix-and-match attacks.
338338

@@ -422,7 +422,8 @@ repo](https://github.com/theupdateframework/specification/issues).
422422
/snapshot.json
423423

424424
Signed by the snapshot role's keys. Lists the version numbers of all
425-
metadata files other than timestamp.json.
425+
target metadata files: the top-level targets.json and all delegated
426+
roles.
426427

427428
/targets.json
428429

@@ -1384,7 +1385,7 @@ non-volatile storage as FILENAME.EXT.
13841385
snapshots are not written by the repository, then the attribute may either
13851386
be left unspecified or be set to the False value. Otherwise, it must be
13861387
set to the True value.
1387-
1388+
13881389
Regardless of whether consistent snapshots are ever used or not, all
13891390
released versions of root metadata files should always be provided
13901391
so that outdated clients can update to the latest available root.

0 commit comments

Comments
 (0)