Skip to content

spec version incompatibility #1751

Closed

Description

@jku

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.

Activity

  1. jku commented on Jan 4, 2022

    @jku
    MemberAuthor

    hmm looks like their newer metadata has
    "spec_version": "1.0.0",
    so maybe we don't need to support the other format after all...

  2. trishankatdatadog commented on Jan 4, 2022

    @trishankatdatadog
    Contributor

    datadogs metadata contains "spec_version": "1.0",

    Thanks for filing the issue. Can you point to the metadata files?

    "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?

    I would say so, yes, although I'm not sure how many people actually use the original python-tuf implementation.

  3. jku commented on Jan 18, 2022

    @jku
    MemberAuthor

    metadata generated with go-tuf (so for example sigstore metadata) uses "1.0" as well.

  4. added 2 commits that reference this issue on Jan 26, 2022
    4cd9e15
    b857a37
  5. added
    1.0.0 blockers
    backlog
    on Jan 26, 2022
  6. self-assigned this
    on Jan 26, 2022
  7. added this to the sprint 16 milestone on Jan 26, 2022
  8. added a commit that references this issue on Jan 26, 2022
    572084e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

1.0.0 blockersbacklog

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions