-
Notifications
You must be signed in to change notification settings - Fork 270
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add classes for complex metadata attributes #1138
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Coordinate with #1133 and #1137
Description of issue or feature request:
For consistent use of OOP we should provide classes for all complex metadata fields
and not only for the outer metadata signature wrapper and the inner
signed
metadata.This would make the used metadata format more explicit and might have a positive effect on metadata schema validation (see discussion in #1130).
Current behavior:
Mixed use of classes and dictionaries for TUF metadata
Expected behavior:
Provide classes for all complex metadata fields, i.e.
'signatures'
(inMetadata
)'meta'
/'targets'
(inTimestamp
,Snapshot
,Targets
),'delegations'
(in
Targets
),'keys'
/'roles'
(in not yet existentDelegation
), ...The text was updated successfully, but these errors were encountered: