-
Notifications
You must be signed in to change notification settings - Fork 56
Remove JSON Requirement from the spec #101
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
Comments
Thanks for filing this @mnm678. We could adopt a similar approach to in-toto, whose spec makes it clear that there's no recommended format for the documents but that Canonical JSON is used in the specification to provide readable examples.
|
Note that the TUF website will need to be updated to reflect this change too, i.e. https://theupdateframework.io/metadata/
|
Resolved in #102 and theupdateframework/theupdateframework.io#8 |
In order to address concerns with canonical JSON (including #92) and to allow for more flexibility in the specification to make features like TAP 11 more useful, I propose we remove the canonical JSON requirement from the standard. This means removing the section:
In addition, we will likely have to do a pass over the document for consistency.
Note that this change does not affect any existing implementations. Canonical JSON will still be a valid choice, but future implementations may chose to use a different canonical json dialect or an entirely different metadata format while still following the TUF specification.
We can probably leave the examples in the spec as is, but make it clear that implementers may chose to use a different metadata format and still have a valid TUF implementation.
The text was updated successfully, but these errors were encountered: