Code Monkey home page Code Monkey logo

Comments (5)

OSTEsayed avatar OSTEsayed commented on June 21, 2024

Here are a few steps you can try to resolve this issue:

Retry the Build: Sometimes, GPG key issues can be temporary. You can try running the build command again to see if the issue resolves itself.

Update GPG Keys: You can manually update the GPG keys for the Kali Linux repositories by running the following commands inside the Dockerfile, before the apt update command:

Add this befor the apt update line :

RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys ED444FF07D8D0BF6

This command fetches the GPG key for the Kali Linux repository. Make sure to place this command before the apt update command.

Network Issues: Sometimes, network issues can cause problems with fetching repository metadata and GPG keys. Ensure that your Docker host has a stable internet connection and can access the Kali Linux repository.

Alternatives : Consider using normal installation of requirements into your local environment instead of docker build (follow the steps in the README) . if the issue persists.

from oste-meta-scan.

gregfr avatar gregfr commented on June 21, 2024

Thanks for your answer. I googled the problem and it seems pretty commun, however they are no working solution that I can find.
Kali docker images doesn't provide wget, curl, or gpg, therefore I see no way to download and/or validate anything. I even tried apt update -oAcquire::AllowInsecureRepositories=true.
But it seems to be a flaw in Kali, not OSTE meta scan.

from oste-meta-scan.

OSTEsayed avatar OSTEsayed commented on June 21, 2024

I HAVE AN ODD SOLUTION Since it can also be a network connectivity issue "probebly it can't insure acess to kali repository " try to Use Vpn while building the Docker.

As i said if the problem persists you can alwayse do normal installation of the OSTE-Meta-Scanner requirments by following the installation steps rather than the docker build.

from oste-meta-scan.

gregfr avatar gregfr commented on June 21, 2024

Nice idea :)
I finally find out that you need the latest version of Docker: when switching to another host (with a more recent docker), it's building.
Thanks a lot for the fast support 🙏

from oste-meta-scan.

OSTEsayed avatar OSTEsayed commented on June 21, 2024

Happy to hear you find solution.
Hope you find this tool helpful.
Kind regards.

from oste-meta-scan.

Related Issues (4)

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.