Giter Club home page Giter Club logo

Comments (3)

jku avatar jku commented on August 10, 2024

The way I've read the spec is that fractions are not allowed and IIRC python-tuf API strips them out when expiry is set and does not accept fractions when deserializing JSON (but I could be wrong on the last bit)

from go-tuf-metadata.

rdimitrov avatar rdimitrov commented on August 10, 2024

Thanks! Apparently we have to update the way we format and store this then 👍

I checked root-signing and I see that at some point go-tuf was generating metadata like that -

https://github.com/sigstore/root-signing/blob/ca9c5644c3217886b543265bacea774351bc0bde/repository/repository/1.root.json#L27C3-L27C3

but eventually it switched to -

https://github.com/sigstore/root-signing/blob/ca9c5644c3217886b543265bacea774351bc0bde/repository/repository/root.json#L6.

I'll update the issue's title so we can track this fix here 👍

from go-tuf-metadata.

rdimitrov avatar rdimitrov commented on August 10, 2024

closing in favour of theupdateframework/go-tuf#596

from go-tuf-metadata.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.