-
Notifications
You must be signed in to change notification settings - Fork 275
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
spec version incompatibility #1751
Comments
hmm looks like their newer metadata has |
Thanks for filing the issue. Can you point to the metadata files?
I would say so, yes, although I'm not sure how many people actually use the original python-tuf implementation. |
metadata generated with go-tuf (so for example sigstore metadata) uses "1.0" as well. |
All TUF implementations used to use "1.0" as the spec version and most of them have never modified that value since. Accept two-digit spec_version for legacy compatibility: it is strictly speaking against the current spec (which requires semver) but there should be no harm in doing this and it allows us to deserialize metadata generated by e.g. go-tuf. Fixes theupdateframework#1751 Signed-off-by: Jussi Kukkonen <[email protected]>
All TUF implementations used to use "1.0" as the spec version and most of them have never modified that value since. Accept two-digit spec_version for legacy compatibility: it is strictly speaking against the current spec (which requires semver) but there should be no harm in doing this and it allows us to deserialize metadata generated by e.g. go-tuf. Fixes theupdateframework#1751 Signed-off-by: Jussi Kukkonen <[email protected]>
All TUF implementations used to use "1.0" as the spec version and most of them have never modified that value since. Accept two-part spec_version for legacy compatibility: it is strictly speaking against the current spec (which requires semver) but there should be no harm in doing this and it allows us to deserialize metadata generated by e.g. go-tuf. Fixes theupdateframework#1751 Signed-off-by: Jussi Kukkonen <[email protected]>
datadogs metadata contains
"spec_version": "1.0",
This is currently not compatible with Metadata API (deserializating the data fails).
"1.0" seems to not be a strictly compliant spec_version (the specification says format follows semantic versioning) but we could potentially support this for backwards compat?
EDIT: also metadata generated with go-tuf (so for example sigstore metadata) looks like this.
The text was updated successfully, but these errors were encountered: