-
Notifications
You must be signed in to change notification settings - Fork 272
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 fields #1139
Comments
lukpueh
added a commit
to lukpueh/tuf
that referenced
this issue
Sep 10, 2020
See: Add root metadata class to new TUF metadata model theupdateframework#1137 Add classes for complex metadata fields theupdateframework#1139 Add input validation to simple metadata api theupdateframework#1140 Signed-off-by: Lukas Puehringer <[email protected]>
MVrachev
pushed a commit
to MVrachev/tuf
that referenced
this issue
Sep 17, 2020
See: Add root metadata class to new TUF metadata model theupdateframework#1137 Add classes for complex metadata fields theupdateframework#1139 Add input validation to simple metadata api theupdateframework#1140 Signed-off-by: Lukas Puehringer <[email protected]>
3 tasks
3 tasks
3 tasks
3 tasks
This was referenced Apr 20, 2021
3 tasks
MVrachev
removed
the
good first issue
Bite-sized items for first time contributors
label
May 18, 2021
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: