Giter Site home page Giter Site logo

Comments (6)

JMSwag avatar JMSwag commented on May 21, 2024

I'm pretty sure this is the bug I found today at work. There is an issue somewhere with importing the keyfile. I'm investigating now.

from pyupdater.

JPFrancoia avatar JPFrancoia commented on May 21, 2024

Something like no key file, no versions.gz file ?

from pyupdater.

JMSwag avatar JMSwag commented on May 21, 2024

First let me apologize for not answering your questions.

Signing is essential to the security of this library. It adds a signature to the version file which the client verifies with the public key. Signing also generates the versions.gz & keys.gz archives. Once you have those the call to update_check will return an update object which you can call the downlod & extract_restart to complete your update.

The bug mentioned above is unrelated to this.

Will you be using AWS S3 or your own server? May I ask why you don't want to sign your metadata?

from pyupdater.

JPFrancoia avatar JPFrancoia commented on May 21, 2024

First let me apologize for not answering your questions.

Don't worry, we all have a job and we are all busy.

Signing is essential to the security of this library. It adds a signature to the version file which the client verifies with the public key. Signing also generates the versions.gz & keys.gz archives.

So basically, I have to sign my package to get those two files ? My bad if I didn't follow completely the procedure, I thought I could bypass the signing part.

Will you be using AWS S3 or your own server?

Nope, I'll be using a shared server (provider: OVH). I'll upload the files via FTP.

May I ask why you don't want to sign your metadata?

No particular reason. I've never done it, so I don't know what the benefits could be (maybe you can tell me more about it, or give me a link ?).

For now I'm just testing, so I thought I could start without the additional layer of complexity that the signing part is.

from pyupdater.

JMSwag avatar JMSwag commented on May 21, 2024

PyUpdater is a simplified, but still relatively secure, version of TUF.
Example of updating with the TUF client.

Check the TUF spec. It's good!

from pyupdater.

privateOmega avatar privateOmega commented on May 21, 2024

@JMSwag Sorry for commenting on an old issue, but I didnt want to open a new one since I am also stuck with the whole versions.gz file being missing.

Would versions.gz be generated only during signing, and could we bypass that?

Tbh, I am not able to follow the process of creating a keypack and signing it, and I am doing a POC and wanted a minimal attempt.

from pyupdater.

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.