-
Notifications
You must be signed in to change notification settings - Fork 276
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
Metadata API: Move common metadata classes of TUF and In-toto in securesystemslib #1393
Comments
If we move part of the classes from TUF in securesystemslib we should make sure we test the migrated classes for:
|
I think the first step should be to try and separate the common model in tuf, with a view to upstreaming. I think |
Sadly, I think this is the case. The way we have implemented serialization means we would easily end up with circular imports. That's something we should fix before moving on. |
I think it's important to note that after |
Closing this one and the discussion can be continued in secure-systems-lab/securesystemslib#272 |
Description of issue or feature request:
In pr #1329 linting failed for file tuf/api/metadata.py because of the "C0302: Too many lines in module" warning which warns modules with more than 1000 lines.
This is a good reminder to move some of the common metadata classes TUF has with In-toto to
securesystemslib
.Sync this issue with secure-systems-lab/securesystemslib#272
Current behavior:
All metadata classes are in
tuf/api/metadata.py
.Expected behavior:
Move some of the common classes of TUF and In-toto in securesystemslib.
Probable candidates for this are
Metadata
,Signed
andKey
?The text was updated successfully, but these errors were encountered: