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

Treat spec_version 1.0.0 as valid #386

Merged
merged 1 commit into from
Sep 27, 2022

Conversation

erickt
Copy link
Collaborator

@erickt erickt commented Sep 23, 2022

In #377, @lukesteensen noticed that we created metadata with the wrong spec version. We used 1.0, but the proper form is 1.0.0. Unfortunately landing this fix will be non-trivial, since old versions of rust-tuf will error out if the spec version is not 1.0.

As a stopgap, this patch changes rust-tuf to allow either a spec version of 1.0 or 1.0.0 so that we can switch to the proper schem once all the old clients have upgraded, or we come up with another way to gracefully perform this migration.

In theupdateframework#377, @lukesteensen noticed that we created metadata with the wrong
spec version. We used `1.0`, but the proper form is `1.0.0`.
Unfortunately landing this fix will be non-trivial, since old versions
of rust-tuf will error out if the spec version is not `1.0`.

As a stopgap, this patch changes rust-tuf to allow either a spec version
of `1.0` or `1.0.0` so that we can switch to the proper schem once all
the old clients have upgraded, or we come up with another way to
gracefully perform this migration.
@erickt erickt merged commit f0f30d9 into theupdateframework:develop Sep 27, 2022
@erickt erickt deleted the spec-version branch September 27, 2022 01:18
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

Successfully merging this pull request may close these issues.

2 participants