LionSec / katoolin

Automatically install all Kali linux tools
https://lionsec.net
GNU General Public License v2.0
4.6k stars 1.32k forks source link

key server time out #63

Open Agdorff opened 7 years ago

Agdorff commented 7 years ago

What do you want to do ?> 1 Executing: /tmp/tmp.ReVXRKU6wC/gpg.1.sh --keyserver pgp.mit.edu --recv-keys ED444FF07D8D0BF6 gpg: requesting key 7D8D0BF6 from hkp server pgp.mit.edu gpg: keyserver timed out gpg: keyserver receive failed: keyserver error

1) Add kali linux repositories 2) Update 3) Remove all kali linux repositories 4) View the contents of sources.list file

swarupsro commented 7 years ago

same problem ... Executing: /tmp/tmp.ReVXRKU6wC/gpg.1.sh --keyserver pgp.mit.edu --recv-keys ED444FF07D8D0BF6

chka commented 7 years ago

Slightly different here:

gpg: requesting key 7D8D0BF6 from hkp server pgp.mit.edu gpgkeys: key ED444FF07D8D0BF6 can't be retrieved gpg: no valid OpenPGP data found. gpg: Total number processed: 0

chka commented 7 years ago

Solved the problem. It seems that the issue is with the key server pgp.mit.edu. To solve it, replace this server with a working one, as follows:

vi /usr/bin/katoolin +49 replace the pgp.mit.edu in that line with a working one, for example: pool.sks-keyservers.net run katoolin again

joshrosen735 commented 6 years ago

still having this issue despite switching to pool.sks server....any ideas? perhaps switch the keys, or maybe removing the necessity for them altogether from the script?

adrianx64 commented 6 years ago

Hi, I had the same error. I solved it copying the text of the key in http://pgpkeys.mit.edu/pks/lookup?op=get&search=0xED444FF07D8D0BF6 to a text file and importing the file using synaptic package manager

sanmsen commented 6 years ago

oh..i got the same one bug here...no idea.

Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.FxUbW0UB1D --no-auto-check-tr ustdb --trust-model always --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyring /etc/apt/trus ted.gpg.d/diesch-testing.gpg --keyserver pgp.mit.edu --recv-keys ED444FF07D8D0BF6 gpg: requesting key 7D8D0BF6 from hkp server pgp.mit.edu gpgkeys: key ED444FF07D8D0BF6 can't be retrieved gpg: no valid OpenPGP data found.

Rhodizzle commented 6 years ago

For anyone still looking for a solution to this:

Edit the katoolin script, line 49. Change pgp.mit.edu to hkp://keyserver.ubuntu.com:80.

I suspect there may be two issues, one is that the key no longer resides on MIT's key server and the second being that the default port for the key retrieval is non-standard and therefore blocked by firewalls. Specifying port 80 gets around this.

Masud44o commented 5 years ago

kat > 1

1) Add kali linux repositories 2) Update 3) Remove all kali linux repositories 4) View the contents of sources.list file

What do you want to do ?> 3

All kali linux repositories have been deleted !

1) Add kali linux repositories 2) Update 3) Remove all kali linux repositories 4) View the contents of sources.list file

What do you want to do ?> 1 Executing: /tmp/apt-key-gpghome.XRBF7Tfybz/gpg.1.sh --keyserver pgp.mit.edu --recv-keys ED444FF07D8D0BF6 gpg: key ED444FF07D8D0BF6: 162 signatures not checked due to missing keys gpg: key ED444FF07D8D0BF6: "Kali Linux Repository devel@kali.org" not changed gpg: Total number processed: 1 gpg: unchanged: 1

1) Add kali linux repositories 2) Update 3) Remove all kali linux repositories 4) View the contents of sources.list file

What do you want to do ?> gohome

1) Add Kali repositories & Update 2) View Categories 3) Install classicmenu indicator 4) Install Kali menu 5) Help

kat > 4 Do you want to install Kali menu ? [y/n]> y Reading package lists... Done Building dependency tree
Reading state information... Done The following packages were automatically installed and are no longer required: cups-pk-helper gir1.2-atspi-2.0 gir1.2-ayatanaappindicator3-0.1 gir1.2-packagekitglib-1.0 gir1.2-polkit-1.0 gir1.2-secret-1 hexchat hexchat-common hexchat-perl hexchat-plugins hexchat-python3 hwdata libappstream4 libboost-date-time-dev libboost-date-time1.67-dev libboost-filesystem-dev libboost-filesystem1.67-dev libboost-program-options-dev libboost-program-options1.67-dev libboost-random1.62.0 libboost-serialization1.67-dev libboost-serialization1.67.0 libboost-system-dev libboost-system1.67-dev libboost-test-dev libboost-test1.67-dev libboost-test1.67.0 libboost-timer1.67.0 libboost1.67-dev libcommons-dbcp-java libcommons-pool-java libcppunit-1.14-0 libcppunit-dev libecj-java libgeos-3.7.0 libglew2.0 libglfw3 libgnuradio-fosphor3.7.12 libhiredis0.13 libirs-export160 libisccfg-export160 liblog4cpp5-dev libmosquitto1 libomp5 libpackagekit-glib2-18 libperl5.26 libprotobuf10 libradare2-3.0 libstemmer0d libtomcat8-java libuhd3.12.0 libupnp6 libxen-4.8 onboard onboard-common onboard-data packagekit packagekit-tools php7.2-mysql python-libemu python-lzma python-pam python-parsley python-psutil python-txsocksx python3-cups python3-cupshelpers python3-smbc redshift redshift-gtk snapd system-config-printer system-config-printer-common system-config-printer-udev x11proto-dri2-dev x11proto-gl-dev Use 'sudo apt autoremove' to remove them. The following NEW packages will be installed: kali-menu 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/4,316 kB of archives. After this operation, 6,094 kB of additional disk space will be used. (Reading database ... 508288 files and directories currently installed.) Preparing to unpack .../kali-menu_2018.4.0_all.deb ... Unpacking kali-menu (2018.4.0) ... dpkg: error processing archive /var/cache/apt/archives/kali-menu_2018.4.0_all.deb (--unpack): trying to overwrite '/usr/share/desktop-directories/01-01-dns-analysis.directory', which is also in package parrot-menu 2:2018.09.19 dpkg-deb: error: paste subprocess was killed by signal (Broken pipe) Errors were encountered while processing: /var/cache/apt/archives/kali-menu_2018.4.0_all.deb Configuring sandbox profiles.... Sandbox profiles updated! E: Sub-process /usr/bin/dpkg returned an error code (1)

1) Add Kali repositories & Update 2) View Categories 3) Install classicmenu indicator 4) Install Kali menu 5) Help

kat >

Masud44o commented 5 years ago

how to use parrot os