Skip to content

Commit 99ac934

Browse files
authored
Revert "Minor tutorial related tweaks made after reviewing PR #775"
1 parent 762b9c2 commit 99ac934

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

docs/TUTORIAL.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -62,14 +62,14 @@ and verify metadata files.
6262
To begin, cryptographic keys are generated with the repository tool. However,
6363
before metadata files can be validated by clients and target files fetched in a
6464
secure manner, public keys must be pinned to particular metadata roles and
65-
metadata signed by the role's private keys. After covering keys, the four
66-
required top-level metadata are created next. Examples are given demonstrating
67-
the expected work flow, where the metadata roles are created in a specific
68-
order, keys imported and loaded, and metadata signed and written to disk.
69-
Lastly, target files are added to the repository, and a custom delegation
70-
performed to extend the default roles of the repository. By the end, a fully
71-
populated TUF repository is generated that can be used by clients to securely
72-
download updates.
65+
metadata signed by role's private keys. After covering keys, the four required
66+
top-level metadata are created next. Examples are given demonstrating the
67+
expected work flow, where the metadata roles are created in a specific order,
68+
keys imported and loaded, and metadata signed and written to disk. Lastly,
69+
target files are added to the repository, and a custom delegation performed to
70+
extend the default roles of the repository. By the end, a fully populated TUF
71+
repository is generated that can be used by clients to securely download
72+
updates.
7373

7474
### Keys ###
7575
The repository tool supports multiple public-key algorithms, such as

tuf/repository_tool.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ def dirty_roles(self):
446446
None.
447447
"""
448448

449-
logger.info('Dirty roles: ' + str(sorted(tuf.roledb.get_dirty_roles(self._repository_name))))
449+
logger.info('Dirty roles: ' + str(tuf.roledb.get_dirty_roles(self._repository_name)))
450450

451451

452452

0 commit comments

Comments
 (0)