You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This adds a custom json message to KeyValue. By the specification, KeyValue must contain the public data associated with the key, and here I'd like to extend it to include information other than the Public bytes associated with the key:
I'd like to include a hardware and device cert for the offline keys generated, and attach their certificates in the KeyValue in the root metadata. It seems appropriate to attach it to the Key.
I don't see a problem with this, but we do need to clarify first in the TUF spec how to deal with unknown/unexpected superset fields. Could you help us there?
this should just work already for the newer python Metadata API (but a test case or an issue about it would definitely be valued).
The current/legacy python-tuf code does verify input data against the many related schemas... so something probably needs to change to make a current python-tuf client compatible with this.
The current/legacy python-tuf code does verify input data against the many related schemas... so something probably needs to change to make a current python-tuf client compatible with this.
This is partly what I mean by we need to clarify the spec to tell implementations what to do...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This adds a custom json message to
KeyValue. By the specification,KeyValuemust contain the public data associated with the key, and here I'd like to extend it to include information other than the Public bytes associated with the key:I'd like to include a hardware and device cert for the offline keys generated, and attach their certificates in the KeyValue in the root metadata. It seems appropriate to attach it to the Key.
WDYT? Happy to make a PR in the python repository as well, the change will actually need to be in securesystemslib https://github.com/secure-systems-lab/securesystemslib/blob/1983feda61da8a9ce8c6d2bc0955c1d2be08ad6f/securesystemslib/formats.py#L179
Signed-off-by: Asra Ali [email protected]