Results 1 to 3 of 3

Thread: Cannot import Kali key

  1. #1

    Unhappy Cannot import Kali key

    This thread says to:

    Code:
    apt-key adv --keyserver hkp://keys.gnupg.net --recv-keys 7D8D0BF6
    and the documentation says to:

    Code:
    gpg --keyserver hkp://keys.gnupg.net --recv-key 7D8D0BF6
    But neither of those work (output of last command shown):

    Code:
    root@kali:~# gpg --keyserver hkp://keys.gnupg.net --recv-key 7D8D0BF6
    gpg: requesting key 7D8D0BF6 from hkp server keys.gnupg.net
    gpgkeys: key 7D8D0BF6 not found on keyserver
    gpg: no valid OpenPGP data found.
    gpg: Total number processed: 0

  2. #2
    Join Date
    2016-Aug
    Posts
    1
    To get this to work for me under OS X 10.11.6 assuming you used homebrew to install gnupg I had to:

    * add the path to my .bash_profile as brew advised:

    Code:
    PATH="/usr/local/opt/gnupg/libexec/gpgbin:$PATH"
    * restart terminal
    * rename some files:

    Code:
    $cd /usr/local/Cellar/gnupg/1.4.21/libexec/gnupg/
    $ ls
    gpgkeys_curl1	gpgkeys_finger1	gpgkeys_hkp1	gpgkeys_ldap1
    $ mv gpgkeys_curl1 gpgkeys_curl
    $ mv gpgkeys_finger1 gpgkeys_finger
    $ mv gpgkeys_hkp1 gpgkeys_hkp
    $ mv gpgkeys_ldap1 gpgkeys_ldap
    * then it runs fine:

    Code:
    $ gpg --keyserver hkp://keys.gnupg.net --recv-key 7D8D0BF6
    gpg: requesting key 7D8D0BF6 from hkp server keys.gnupg.net
    gpg: /Users/todddecker/.gnupg/trustdb.gpg: trustdb created
    gpg: key 7D8D0BF6: public key "Kali Linux Repository <[email protected]>" imported
    gpg: no ultimately trusted keys found
    gpg: Total number processed: 1
    gpg:               imported: 1  (RSA: 1)
    Hope that helps

  3. #3
    Join Date
    2016-Aug
    Posts
    1

    Todd - need your help with bash, PATH

    Todd - I have OS X 10.11.6 and pasted your PATH in my Terminal....I think this action was incorrect. How do I find my correct PATH to where my 3 Kali files are located? (in downloads). I don't know how to "add the path to my .bash_profile." I downloaded Homebrew....but don't know what to do with it. My goal is to be able to verify SHA1SUMS and SHA1SUMS.gpg with Kali's official key and ultimately load Kali on my flash drive. I did install GPG but not via Homebrew.

    Barbs-MacBook:downloads barb$ $ gpg --verify SHA1SUMS.gpg SHA1SUMS
    -bash: $: command not found
    Barbs-MacBook:downloads barb$ $ wget -q -O - https://www.kali.org/archive-key.asc | gpg --import
    -bash: $: command not found
    gpg: no valid OpenPGP data found.
    Barbs-MacBook:downloads barb$ $ gpg --keyserver hkp://keys.gnupg.net --recv-key 7D8D0BF6

    Thank you,

    Barb

Similar Threads

  1. Replies: 0
    Last Post: 2022-10-31, 09:55
  2. not able to import Kali keys - server indicated a failure
    By gkpandey in forum Installing Archive
    Replies: 0
    Last Post: 2020-08-23, 07:34
  3. [SOLVED] OpenVPN import problems (kali 2.0)
    By Stat1 in forum General Archive
    Replies: 3
    Last Post: 2015-08-30, 07:36
  4. VPN import problmes (kali 2.0)
    By Stat1 in forum TroubleShooting Archive
    Replies: 3
    Last Post: 2015-08-30, 07:36

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •