Skip to content

Commit cc8a73b

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 5a9dd6a commit cc8a73b

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

tuf-spec.md

+6-5
Original file line numberDiff line numberDiff line change
@@ -1293,11 +1293,12 @@ non-volatile storage as FILENAME.EXT.
12931293
in the snapshot metadata file. In either case, the client MUST write the
12941294
file to non-volatile storage as FILENAME.EXT.
12951295

1296-
* **4.5.2.5**. **Check against snapshot metadata.** The hashes (if any), and
1297-
version number of the new DELEGATEE metadata file MUST match the trusted
1298-
snapshot metadata, if any. This is done, in part, to prevent a mix-and-match
1299-
attack by man-in-the-middle attackers. If the new DELEGATEE metadata file
1300-
does not match, abort the update cycle, and report the failure.
1296+
* **4.5.2.5**. **Check against snapshot metadata.** The hashes and
1297+
version number of the new DELEGATEE metadata file MUST match the hashes
1298+
(if any) and version number listed in the trusted snapshot metadata. This
1299+
is done, in part, to prevent a mix-and-match attack by man-in-the-middle
1300+
attackers. If the new DELEGATEE metadata file does not match, abort the
1301+
update cycle, and report the failure.
13011302

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

0 commit comments

Comments
 (0)