Giter VIP home page Giter VIP logo

Comments (5)

amouat avatar amouat commented on May 30, 2024

Yes, good point. Currently, I think this a little advanced for this PoC, but I'll leave the issue open for the future.

Also, note that docker load probably isn't the right way to do things in the long term. Looking at the issue tracker for quayctl, they found docker load caused high CPU and mem usage so instead moved to a model where they did a docker pull from a local registry that was temporarily instantiated.

from imagewolf.

sirlatrom avatar sirlatrom commented on May 30, 2024

I guess there'd still be an issue even though docker pull uses notary if enabled: When pulling from a local repo, the GUN would not be the same as when pulling directly from the origin repo. It would then still end up being ImageWolf's task to verify the hash of the content, probably before making it available from the local repo.

Correct. You could also simply do a hash lookup using notary and verify if the file matches (which is what notary verity does)

https://twitter.com/diogomonica/status/878842915463716864

from imagewolf.

amouat avatar amouat commented on May 30, 2024

Yeah, I figured there would be problems like that.

For a production version we'll need to think through the different levels of provenance and potential attacks. I suspect it's just the initial pull/load that needs notary, after that we should be able to distribute everything via checksums, but I may be making too many assumptions.

There is a problem currently whereby an attacker can get ImageWolf to download and distribute any image by just knowing the URL to contact it on.

from imagewolf.

sirlatrom avatar sirlatrom commented on May 30, 2024

I suppose I'll just leave this issue hanging around in case anyone picks up on the PoC, but feel free to close it if it's out of scope anyway.

from imagewolf.

amouat avatar amouat commented on May 30, 2024

Yes, let's leave it open. Thanks for the interest - feel free to send me an e-mail if you have any questions or feedback!

from imagewolf.

Related Issues (7)

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.