@@ -1333,7 +1333,10 @@ it in the next step.
1333
1333
1. **Targets recovery** If a threshold of targets keys have been
1334
1334
removed in the new trusted root metadata compared to the previous trusted
1335
1335
root metadata, delete the old top-level targets and snapshot metadata
1336
- files.
1336
+ files. Note that delegated targets are susceptible to fast forward attacks,
1337
+ because snapshot must be checked before a key rotation in the delegating
1338
+ target role is known to the client. To fix this, nuke delegation or make
1339
+ repository rotate the the snapshot key.
1337
1340
1338
1341
2. **Snapshot recovery** If a threshold of snapshot keys have
1339
1342
been removed in the new trusted root metadata compared to the previous
@@ -1414,10 +1417,9 @@ it in the next step.
1414
1417
in the trusted timestamp metadata. If the versions do not match, discard the
1415
1418
new snapshot metadata, abort the update cycle, and report the failure.
1416
1419
1417
- 5 . ** Check for a rollback attack** . The version number of the targets
1418
- metadata file, and all delegated targets metadata files, if any, in the
1419
- trusted snapshot metadata file, if any, MUST be less than or equal to its
1420
- version number in the new snapshot metadata file. Furthermore, any targets
1420
+ 5 . ** Check for a rollback attack** . The version number of all targets metadata files in the
1421
+ trusted snapshot metadata file, if any, MUST be less than or equal to their
1422
+ version numbers in the new snapshot metadata file. Furthermore, any targets
1421
1423
metadata filename that was listed in the trusted snapshot metadata file, if
1422
1424
any, MUST continue to be listed in the new snapshot metadata file. If any of
1423
1425
these conditions are not met, discard the new snapshot metadata file, abort
0 commit comments