Skip to content
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

Closed
lukpueh opened this issue Sep 10, 2020 · 1 comment
Closed

Add classes for complex metadata attributes #1138

lukpueh opened this issue Sep 10, 2020 · 1 comment

Comments

@lukpueh
Copy link
Member

lukpueh commented Sep 10, 2020

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' (in
Metadata) 'meta'/'targets' (in Timestamp, Snapshot, Targets), 'delegations'
(in Targets), 'keys'/'roles' (in not yet existent Delegation), ...

@lukpueh
Copy link
Member Author

lukpueh commented Sep 10, 2020

Created twice due to GitHub glitch. Closing in favour of #1139

@lukpueh lukpueh closed this as completed Sep 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant