Closed gregfr closed 4 months ago
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.
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.
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.
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 :pray:
Happy to hear you find solution. Hope you find this tool helpful. Kind regards.
Greetings I'm trying to build the docker container as per instructed ; here is the output:
Any idea how I can pass this?
Thanks in advance
Regards