Skip to content

Commit ad68337

Browse files
committed
Adopt reporting wording for delegated targets
Recent commits added a detailed verification workflow for delegated targets, including check against snapshot, and signature, version and timestamp checks. This commit adopts the failure reporting phrasing used elsewhere in the client workflow.
1 parent e155268 commit ad68337

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

tuf-spec.md

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1271,32 +1271,30 @@ non-volatile storage as FILENAME.EXT.
12711271
version number of the new DELEGATE metadata file MUST match the trusted
12721272
snapshot metadata. This is done, in part, to prevent a mix-and-match
12731273
attack by man-in-the-middle attackers. If the new DELEGATE metadata file
1274-
does not match, discard it, end the search, and report the target cannot
1275-
be found.
1274+
does not match, abort the update cycle, and report the failure.
12761275

12771276
* **4.5.2.4**. **Check for an arbitrary software attack.** The new DELEGATE
12781277
metadata file MUST have been signed by a threshold of keys specified in the
12791278
TARGETS metadata file. If the new DELEGATE metadata file is not signed
1280-
as required, discard it, end the search, and report the target cannot be
1281-
found.
1279+
as required, abort the update cycle, and report the failure.
12821280

12831281
* **4.5.2.5**. **Check for a rollback attack.** The version number of the
12841282
trusted DELEGATE metadata file, if any, MUST be less than or equal to the
12851283
version number of the new DELEGATE metadata file. If the new DELEGATE
12861284
metadata file is older than the trusted DELEGATE metadata file, discard
1287-
it, end the search, and report the target cannot be found.
1285+
it, abort the update cycle, and report the potential rollback attack.
12881286

12891287
* **4.5.2.6**. **Check for a freeze attack.** The latest known time
12901288
should be lower than the expiration timestamp in the new DELEGATE
12911289
metadata file. If so, the new DELEGATE file becomes the trusted DELEGATE
1292-
file. If the new DELEGATE metadata file is expired, discard it, end the
1293-
search, and report the target cannot be found.
1290+
file. If the new DELEGATE metadata file is expired, abort the update
1291+
cycle, and report the potential freeze attack.
12941292

12951293
* **4.5.2.7**. If the current delegation is a multi-role delegation,
12961294
recursively visit each role, and check that each has signed exactly the
12971295
same non-custom metadata (i.e., length and hashes) about the target (or
1298-
the lack of any such metadata). Otherwise, discard it, end the search,
1299-
and report the target cannot be found.
1296+
the lack of any such metadata). Otherwise, abort the update cycle, and
1297+
report the failure.
13001298

13011299
* **4.5.2.8**. If the current delegation is a terminating delegation,
13021300
then jump to step 5.

0 commit comments

Comments
 (0)