Skip to content

Commit 42d3a75

Browse files
committed
Metadata API: Improve docs for RootVerificationResult
Signed-off-by: Jussi Kukkonen <jkukkonen@google.com>
1 parent f60fb4a commit 42d3a75

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

tuf/api/metadata.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -653,8 +653,8 @@ class VerificationResult:
653653
654654
Attributes:
655655
threshold: Number of required signatures.
656-
signed: dict of keyid:Key containing the keys that have signed.
657-
unsigned: dict of keyid:Key containing the keys that have not signed.
656+
signed: dict of keyid to Key, containing keys that have signed.
657+
unsigned: dict of keyid to Key, containing keys that have not signed.
658658
"""
659659

660660
threshold: int
@@ -675,8 +675,8 @@ class RootVerificationResult:
675675
"""Signature verification result for root metadata.
676676
677677
Root must be verified by itself and the previous root version. This
678-
dataclass represents that combination. For the edge case of first version
679-
of root, the same VerificationResult can be used twice.
678+
dataclass represents both results. For the edge case of first version
679+
of root, these underlying results are identical.
680680
681681
Note that `signed` and `unsigned` correctness requires the underlying
682682
VerificationResult keys to not conflict (no reusing the same keyid for

0 commit comments

Comments
 (0)