[GH-ISSUE #307] gpg: keyserver receive failed: Server indicated a failure #255

Open
opened 2026-02-26 04:30:52 +03:00 by kerem · 17 comments
Owner

Originally created by @zolopp on GitHub (Dec 9, 2021).
Original GitHub issue: https://github.com/LionSec/katoolin/issues/307

What do you want to do ?> 1
Executing: /tmp/apt-key-gpghome.SSsJiMZKCr/gpg.1.sh --keyserver pool.sks-keyservers.net --recv-keys ED444FF07D8D0BF6

gpg: keyserver receive failed: Server indicated a failure

  1. Add kali linux repositories
  2. Update
  3. Remove all kali linux repositories
  4. View the contents of sources.list file
Originally created by @zolopp on GitHub (Dec 9, 2021). Original GitHub issue: https://github.com/LionSec/katoolin/issues/307 What do you want to do ?> 1 Executing: /tmp/apt-key-gpghome.SSsJiMZKCr/gpg.1.sh --keyserver pool.sks-keyservers.net --recv-keys ED444FF07D8D0BF6 gpg: keyserver receive failed: Server indicated a failure 1) Add kali linux repositories 2) Update 3) Remove all kali linux repositories 4) View the contents of sources.list file
Author
Owner

@zolopp commented on GitHub (Dec 10, 2021):

need help

<!-- gh-comment-id:990911428 --> @zolopp commented on GitHub (Dec 10, 2021): need help
Author
Owner

@alexarnimueller commented on GitHub (Dec 11, 2021):

The keyserver seems to be deprecated, you can change the line containing the keyserver in katoolin.py to another one, e.g. keys.openpgp.org

the line to change is cmd1 = os.system("apt-key adv --keyserver ....")

<!-- gh-comment-id:991801538 --> @alexarnimueller commented on GitHub (Dec 11, 2021): The keyserver seems to be deprecated, you can change the line containing the keyserver in katoolin.py to another one, e.g. keys.openpgp.org the line to change is cmd1 = os.system("apt-key adv --keyserver ....")
Author
Owner

@zolopp commented on GitHub (Dec 12, 2021):

The keyserver seems to be deprecated, you can change the line containing the keyserver in katoolin.py to another one, e.g. keys.openpgp.org

the line to change is cmd1 = os.system("apt-key adv --keyserver ....")

thank u

<!-- gh-comment-id:991891771 --> @zolopp commented on GitHub (Dec 12, 2021): > The keyserver seems to be deprecated, you can change the line containing the keyserver in katoolin.py to another one, e.g. keys.openpgp.org > > the line to change is cmd1 = os.system("apt-key adv --keyserver ....") thank u
Author
Owner

@azsec commented on GitHub (Dec 31, 2021):

Try the following one:

key_servers=("ha.pool.sks-keyservers.net" \ 
            "hkp://p80.pool.sks-keyservers.net:80" \
            "keyserver.ubuntu.com" \
            "hkp://keyserver.ubuntu.com:80" \ 
            "pgp.mit.edu")

for key_server in ${key_servers[@]}; do
    echo "[+] Start checking ${key_server}..."
    gpg --keyserver "${key_server}" --recv-keys ED444FF07D8D0BF6 && break || echo "[+] Trying new server..."
done
<!-- gh-comment-id:1003310531 --> @azsec commented on GitHub (Dec 31, 2021): Try the following one: ```shell key_servers=("ha.pool.sks-keyservers.net" \ "hkp://p80.pool.sks-keyservers.net:80" \ "keyserver.ubuntu.com" \ "hkp://keyserver.ubuntu.com:80" \ "pgp.mit.edu") for key_server in ${key_servers[@]}; do echo "[+] Start checking ${key_server}..." gpg --keyserver "${key_server}" --recv-keys ED444FF07D8D0BF6 && break || echo "[+] Trying new server..." done ```
Author
Owner

@logicaldeveloper commented on GitHub (Jan 16, 2022):

The keyserver seems to be deprecated, you can change the line containing the keyserver in katoolin.py to another one, e.g. keys.openpgp.org

the line to change is cmd1 = os.system("apt-key adv --keyserver ....")

This worked. Thank you

<!-- gh-comment-id:1013872634 --> @logicaldeveloper commented on GitHub (Jan 16, 2022): > The keyserver seems to be deprecated, you can change the line containing the keyserver in katoolin.py to another one, e.g. keys.openpgp.org > > the line to change is cmd1 = os.system("apt-key adv --keyserver ....") This worked. Thank you
Author
Owner

@dragoscosma commented on GitHub (Mar 5, 2022):

for katoolin3 do this and it will work:

  • open install.sh
  • edit the line starting with: apt-key and paste this: apt-key adv -qq --keyserver keyserver.ubuntu.com --recv-keys ED444FF07D8D0BF6 || apt-key adv -qq --keyserver hkp://keyservers.ubuntu.com:80 --recv-keys ED444FF07D8D0BF6 || die "This may be a server issue. Please try again later";
  • now go to the terminal and run this: chmod +x ./install.ch
  • and finally run: sudo ./install.sh
<!-- gh-comment-id:1059843593 --> @dragoscosma commented on GitHub (Mar 5, 2022): for katoolin3 do this and it will work: - open install.sh - edit the line starting with: apt-key and paste this: apt-key adv -qq --keyserver keyserver.ubuntu.com --recv-keys ED444FF07D8D0BF6 || apt-key adv -qq --keyserver hkp://keyservers.ubuntu.com:80 --recv-keys ED444FF07D8D0BF6 || die "This may be a server issue. Please try again later"; - now go to the terminal and run this: chmod +x ./install.ch - and finally run: sudo ./install.sh
Author
Owner

@omegadc commented on GitHub (Mar 8, 2022):

Could someone please help me out? I am unable to make changes on the katoolin.py file to solve the server indicated a failure issue.

<!-- gh-comment-id:1061359237 --> @omegadc commented on GitHub (Mar 8, 2022): Could someone please help me out? I am unable to make changes on the katoolin.py file to solve the server indicated a failure issue.
Author
Owner

@ghost commented on GitHub (Mar 21, 2022):

guys can you please help me with this error in ubuntu 20.4 lts

<!-- gh-comment-id:1073987883 --> @ghost commented on GitHub (Mar 21, 2022): guys can you please help me with this error in ubuntu 20.4 lts
Author
Owner

@cwealeft commented on GitHub (Mar 28, 2022):

Could someone please help me out? I am unable to make changes on the katoolin.py file to solve the server indicated a failure issue.

Use sudo nano /usr/bin/katoolin to make the changes

<!-- gh-comment-id:1080118974 --> @cwealeft commented on GitHub (Mar 28, 2022): > Could someone please help me out? I am unable to make changes on the katoolin.py file to solve the server indicated a failure issue. Use sudo nano /usr/bin/katoolin to make the changes
Author
Owner

@workvikrant commented on GitHub (Mar 29, 2022):

for katoolin3 do this and it will work:

  • open install.sh
  • edit the line starting with: apt-key and paste this: apt-key adv -qq --keyserver keyserver.ubuntu.com --recv-keys ED444FF07D8D0BF6 || apt-key adv -qq --keyserver hkp://keyservers.ubuntu.com:80 --recv-keys ED444FF07D8D0BF6 || die "This may be a server issue. Please try again later";
  • now go to the terminal and run this: chmod +x ./install.ch
  • and finally run: sudo ./install.sh

WORKED

<!-- gh-comment-id:1081868549 --> @workvikrant commented on GitHub (Mar 29, 2022): > for katoolin3 do this and it will work: > > * open install.sh > * edit the line starting with: apt-key and paste this: apt-key adv -qq --keyserver keyserver.ubuntu.com --recv-keys ED444FF07D8D0BF6 || apt-key adv -qq --keyserver hkp://keyservers.ubuntu.com:80 --recv-keys ED444FF07D8D0BF6 || die "This may be a server issue. Please try again later"; > * now go to the terminal and run this: chmod +x ./install.ch > * and finally run: sudo ./install.sh WORKED
Author
Owner

@LdeLight1 commented on GitHub (Apr 7, 2022):

Meus lindos para esse erro basta abrir o diretório como sudo nano /usr/bin/katoolin
edite o cmd1 = os.system //O que estiver dentro dos parênteses ou escrito em verde altere para:
"apt-key adv --keyserver keys.openpgp.org --recv-keys ED444F

Um abraço amigos!!! OPA AMIGOO, SEXOOOOOOOOOO!!!

<!-- gh-comment-id:1092218027 --> @LdeLight1 commented on GitHub (Apr 7, 2022): Meus lindos para esse erro basta abrir o diretório como sudo nano /usr/bin/katoolin edite o cmd1 = os.system //O que estiver dentro dos parênteses ou escrito em verde altere para: "apt-key adv --keyserver keys.openpgp.org --recv-keys ED444F Um abraço amigos!!! OPA AMIGOO, SEXOOOOOOOOOO!!!
Author
Owner

@nathmo commented on GitHub (Apr 17, 2022):

i've made a fork that works if you did not managed to make it work.

https://github.com/nathmo/katoolin/blob/master/README.md

<!-- gh-comment-id:1100910751 --> @nathmo commented on GitHub (Apr 17, 2022): i've made a fork that works if you did not managed to make it work. https://github.com/nathmo/katoolin/blob/master/README.md
Author
Owner

@macdipu commented on GitHub (Jul 3, 2022):

thanks!!

<!-- gh-comment-id:1173108728 --> @macdipu commented on GitHub (Jul 3, 2022): thanks!!
Author
Owner

@csemusagul commented on GitHub (Aug 31, 2022):

The keyserver seems to be deprecated, you can change the line containing the keyserver in katoolin.py to another one, e.g. keys.openpgp.org

the line to change is cmd1 = os.system("apt-key adv --keyserver ....")

Thanks, openpgp won that. :)

<!-- gh-comment-id:1233439957 --> @csemusagul commented on GitHub (Aug 31, 2022): > The keyserver seems to be deprecated, you can change the line containing the keyserver in katoolin.py to another one, e.g. keys.openpgp.org > > the line to change is cmd1 = os.system("apt-key adv --keyserver ....") Thanks, openpgp won that. :)
Author
Owner

@felipefullstacker commented on GitHub (Aug 16, 2023):

thank u

<!-- gh-comment-id:1680698758 --> @felipefullstacker commented on GitHub (Aug 16, 2023): > thank u
Author
Owner

@Jaybyrd79 commented on GitHub (Jan 31, 2024):

Thank You!

<!-- gh-comment-id:1919380699 --> @Jaybyrd79 commented on GitHub (Jan 31, 2024): Thank You!
Author
Owner

@zex0nfy commented on GitHub (Jun 27, 2025):

for katoolin3 do this and it will work:

* open install.sh

* edit the line starting with: apt-key and paste this: apt-key adv -qq --keyserver keyserver.ubuntu.com --recv-keys ED444FF07D8D0BF6 || apt-key adv -qq --keyserver hkp://keyservers.ubuntu.com:80 --recv-keys ED444FF07D8D0BF6 || die "This may be a server issue. Please try again later";

* now go to the terminal and run this: chmod +x ./install.ch

* and finally run: sudo ./install.sh

here the fix one
apt-key adv -qq --keyserver keyserver.ubuntu.com --recv-keys ED65462EC8D5E4C5 ||
apt-key adv -qq --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys ED65462EC8D5E4C5 ||
die "This may be a server issue or the key has changed again. Please try again later.";

<!-- gh-comment-id:3011249699 --> @zex0nfy commented on GitHub (Jun 27, 2025): > for katoolin3 do this and it will work: > > * open install.sh > > * edit the line starting with: apt-key and paste this: apt-key adv -qq --keyserver keyserver.ubuntu.com --recv-keys ED444FF07D8D0BF6 || apt-key adv -qq --keyserver hkp://keyservers.ubuntu.com:80 --recv-keys ED444FF07D8D0BF6 || die "This may be a server issue. Please try again later"; > > * now go to the terminal and run this: chmod +x ./install.ch > > * and finally run: sudo ./install.sh here the fix one apt-key adv -qq --keyserver keyserver.ubuntu.com --recv-keys ED65462EC8D5E4C5 || \ apt-key adv -qq --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys ED65462EC8D5E4C5 || \ die "This may be a server issue or the key has changed again. Please try again later.";
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/katoolin-LionSec#255
No description provided.