Skip to content

Commit 72a3137

Browse files
lukpuehmnm678
authored andcommitted
Replace DELEGATE with DELEGATEE
Following @trishankatdatadog's and @jhdalek55's suggestion, according to which, a delegate, when used as a noun, generally implies a person. "Delegatee" is defined as "someone or something to which something is delegated." In this case, when the responsibility for signing is being granted to a different entity, "delegatee" more clearly conveys this concept.
1 parent 2f7f993 commit 72a3137

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

tuf-spec.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1322,7 +1322,7 @@ it in the next step.
13221322
when attackers arbitrarily increase the version numbers in any of the
13231323
timestamp, snapshot, targets, or delegated targets metadata. The attacker goal
13241324
is to cause clients to refuse to update the metadata later because the attacker's
1325-
listed metadata version number (possibly MAX_INT) is greater than the new valid
1325+
listed metadata version number (possibly MAX_INT) is greater than the new valid
13261326
version. To recover from
13271327
fast-forward attacks after the repository has been compromised and recovered,
13281328
certain metadata files need to be deleted as specified in this section.
@@ -1484,55 +1484,55 @@ it in the next step.
14841484
2. Otherwise, recursively search the list of delegations in
14851485
order of appearance.
14861486

1487-
1. Let DELEGATE denote the current target role TARGETS is
1487+
1. Let DELEGATEE denote the current target role TARGETS is
14881488
delegating to.
14891489

14901490
2. **Fast-forward attack recovery.** If a threshold of
14911491
delegated targets keys for the current delegation are removed from the
1492-
TARGETS metadata, delete the trusted DELEGATE metadata, if any, and the
1492+
TARGETS metadata, delete the trusted DELEGATEE metadata, if any, and the
14931493
previously trusted snapshot metadata.
14941494

14951495
3. **Check for a rollback attack via snapshot.** The version number of the
1496-
DELEGATE metadata in the previous trusted snapshot metadata, if any, MUST
1496+
DELEGATEE metadata in the previous trusted snapshot metadata, if any, MUST
14971497
be less than or equal to its version number in the new trusted snapshot
14981498
metadata. If this is not the case, abort the update cycle, and report the
14991499
potential rollback attack.
15001500

1501-
4. **Download the DELEGATE targets metadata file**, up to either
1501+
4. **Download the DELEGATEE targets metadata file**, up to either
15021502
the number of bytes specified in the snapshot metadata file, or some Z
15031503
number of bytes. The value for Z is set by the authors of the application
1504-
using TUF. For example, Z may be tens of kilobytes. IF DELEGATE cannot be
1504+
using TUF. For example, Z may be tens of kilobytes. IF DELEGATEE cannot be
15051505
found, end the search and report the target cannot be found. If
15061506
consistent snapshots are not used (see Section 7), then the filename used
15071507
to download the targets metadata file is of the fixed form FILENAME.EXT
15081508
(e.g., delegated_role.json). Otherwise, the filename is of the form
15091509
VERSION_NUMBER.FILENAME.EXT (e.g., 42.delegated_role.json), where
1510-
VERSION_NUMBER is the version number of the DELEGATE metadata file listed
1510+
VERSION_NUMBER is the version number of the DELEGATEE metadata file listed
15111511
in the snapshot metadata file. In either case, the client MUST write the
15121512
file to non-volatile storage as FILENAME.EXT.
15131513

15141514
5. **Check against snapshot metadata.** The hashes (if any), and
1515-
version number of the new DELEGATE metadata file MUST match the trusted
1515+
version number of the new DELEGATEE metadata file MUST match the trusted
15161516
snapshot metadata, if any. This is done, in part, to prevent a mix-and-match
1517-
attack by man-in-the-middle attackers. If the new DELEGATE metadata file
1517+
attack by man-in-the-middle attackers. If the new DELEGATEE metadata file
15181518
does not match, abort the update cycle, and report the failure.
15191519

1520-
6. **Check for an arbitrary software attack.** The new DELEGATE
1520+
6. **Check for an arbitrary software attack.** The new DELEGATEE
15211521
metadata file MUST have been signed by a threshold of keys specified in the
1522-
TARGETS metadata file. If the new DELEGATE metadata file is not signed
1522+
TARGETS metadata file. If the new DELEGATEE metadata file is not signed
15231523
as required, abort the update cycle, and report the failure.
15241524

1525-
7. **Check for a rollback attack on the DELEGATE metadata.**
1526-
The version number of the trusted DELEGATE metadata file, if any, MUST be
1525+
7. **Check for a rollback attack on the DELEGATEE metadata.**
1526+
The version number of the trusted DELEGATEE metadata file, if any, MUST be
15271527
less than or equal to the version number of the new DELEGATE metadata
1528-
file. If the new DELEGATE metadata file is older than the trusted
1529-
DELEGATE metadata file abort the update cycle, and report the potential
1528+
file. If the new DELEGATEE metadata file is older than the trusted
1529+
DELEGATEE metadata file abort the update cycle, and report the potential
15301530
rollback attack.
15311531

15321532
8. **Check for a freeze attack.** The latest known time
1533-
should be lower than the expiration timestamp in the new DELEGATE
1534-
metadata file. If so, the new DELEGATE file becomes the trusted DELEGATE
1535-
file. If the new DELEGATE metadata file is expired, abort the update
1533+
should be lower than the expiration timestamp in the new DELEGATEE
1534+
metadata file. If so, the new DELEGATEE file becomes the trusted DELEGATEE
1535+
file. If the new DELEGATEE metadata file is expired, abort the update
15361536
cycle, and report the potential freeze attack.
15371537

15381538
9. If the current delegation is a multi-role delegation,
@@ -1546,7 +1546,7 @@ it in the next step.
15461546

15471547
11. Otherwise, if the current delegation is a non-terminating
15481548
delegation, continue processing the next delegation, if any, by repeating
1549-
the preorder depth-first search with DELEGATE as the current TARGET role.
1549+
the preorder depth-first search with DELEGATEE as the current TARGET role.
15501550
Stop the search, and jump to step [[#fetch-target]]. as soon as a
15511551
delegation returns a result.
15521552

0 commit comments

Comments
 (0)