Skip to content

Commit 5ef7a9c

Browse files
committed
Clarify delegated targets optional hash check
Clarify that the hashes of delegated targets metadata in snapshot metadata are optional and should only be match checked by the client if present.
1 parent e96f1e8 commit 5ef7a9c

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

tuf-spec.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1313,11 +1313,12 @@ non-volatile storage as FILENAME.EXT.
13131313
in the snapshot metadata file. In either case, the client MUST write the
13141314
file to non-volatile storage as FILENAME.EXT.
13151315

1316-
* **4.5.2.5**. **Check against snapshot metadata.** The hashes (if any), and
1317-
version number of the new DELEGATEE metadata file MUST match the trusted
1318-
snapshot metadata, if any. This is done, in part, to prevent a mix-and-match
1319-
attack by man-in-the-middle attackers. If the new DELEGATEE metadata file
1320-
does not match, abort the update cycle, and report the failure.
1316+
* **4.5.2.5**. **Check against snapshot metadata.** The hashes and
1317+
version number of the new DELEGATEE metadata file MUST match the hashes
1318+
(if any) and version number listed in the trusted snapshot metadata. This
1319+
is done, in part, to prevent a mix-and-match attack by man-in-the-middle
1320+
attackers. If the new DELEGATEE metadata file does not match, abort the
1321+
update cycle, and report the failure.
13211322

13221323
* **4.5.2.6**. **Check for an arbitrary software attack.** The new DELEGATEE
13231324
metadata file MUST have been signed by a threshold of keys specified in the

0 commit comments

Comments
 (0)