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