Skip to content

Commit b33ed00

Browse files
committed
Metadata API: Add a comment for Key validation
Clarify that we don't semantically validate "Key" instances during initialization and that this is a responsibility of securesystemslib. Signed-off-by: Martin Vrachev <[email protected]>
1 parent f20664d commit b33ed00

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tuf/api/metadata.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -376,6 +376,8 @@ def bump_version(self) -> None:
376376

377377
class Key:
378378
"""A container class representing the public portion of a Key.
379+
Please note that "Key" instances are not semanticly validated during
380+
initialization. We consider this as responsibility of securesystemslib.
379381
380382
Attributes:
381383
keyid: An identifier string that must uniquely identify a key within

0 commit comments

Comments
 (0)