@@ -1489,32 +1489,30 @@ it in the next step.
1489
1489
version number of the new DELEGATE metadata file MUST match the trusted
1490
1490
snapshot metadata. This is done, in part, to prevent a mix-and-match
1491
1491
attack by man-in-the-middle attackers. If the new DELEGATE metadata file
1492
- does not match, discard it, end the search, and report the target cannot
1493
- be found.
1492
+ does not match, abort the update cycle, and report the failure.
1494
1493
1495
1494
4 . ** Check for an arbitrary software attack.** The new DELEGATE
1496
1495
metadata file MUST have been signed by a threshold of keys specified in the
1497
1496
TARGETS metadata file. If the new DELEGATE metadata file is not signed
1498
- as required, discard it, end the search, and report the target cannot be
1499
- found.
1497
+ as required, abort the update cycle, and report the failure.
1500
1498
1501
1499
5 . ** Check for a rollback attack.** The version number of the
1502
1500
trusted DELEGATE metadata file, if any, MUST be less than or equal to the
1503
1501
version number of the new DELEGATE metadata file. If the new DELEGATE
1504
1502
metadata file is older than the trusted DELEGATE metadata file, discard
1505
- it, end the search , and report the target cannot be found .
1503
+ it, abort the update cycle , and report the potential rollback attack .
1506
1504
1507
1505
6 . ** Check for a freeze attack.** The latest known time
1508
1506
should be lower than the expiration timestamp in the new DELEGATE
1509
1507
metadata file. If so, the new DELEGATE file becomes the trusted DELEGATE
1510
- file. If the new DELEGATE metadata file is expired, discard it, end the
1511
- search , and report the target cannot be found .
1508
+ file. If the new DELEGATE metadata file is expired, abort the update
1509
+ cycle , and report the potential freeze attack .
1512
1510
1513
1511
7 . If the current delegation is a multi-role delegation,
1514
1512
recursively visit each role, and check that each has signed exactly the
1515
1513
same non-custom metadata (i.e., length and hashes) about the target (or
1516
- the lack of any such metadata). Otherwise, discard it, end the search,
1517
- and report the target cannot be found .
1514
+ the lack of any such metadata). Otherwise, abort the update cycle, and
1515
+ report the failure .
1518
1516
1519
1517
7 . If the current delegation is a terminating delegation,
1520
1518
then jump to step [[ #fetch-target]] .
0 commit comments