GPGServices: keyservers not working

james's Avatar


08 Jul, 2018 04:54 AM

I cannot obtain pgp keys in the terminal (macOS) as every —keyserver “name any of them” results in an error or that the keyserver is not responding.

However, when I use the GUI it works…

I just want it to work. Thanks

macOS                   10.13.5     17F77
GPG Suite               2018.3      2223    (8d0c266)
GPGMail                 3.0b7       1319    (c2d0df0a)
GPG Keychain            1.4.4       1460    (9010342)
GPGServices             1.11.4      1013    (0b04f6c)
MacGPG                  2.2.8       916     (0ed4a99)
GPG Suite Preferences   2.1.2       997     (1a09bc7)
Libmacgpg               0.8.5       863     (0707962)
pinentry           9       (db18340)
  1. Support Staff 1 Posted by Luke Le on 09 Jul, 2018 07:31 PM

    Luke Le's Avatar

    Hi james,,

    We are very sorry you are having problems with GPG Suite.

    Is there any chance that you are using Little Snitch or any other firewall on your Mac? If so, please temporarily disable that software and repeat your key search.

    If the problem persists, please open Terminal and run the following commands to create some debug output for us:

    echo "debug-level guru" >> ~/.gnupg/dirmngr.conf
    echo "debug-all" >> ~/.gnupg/dirmngr.conf
    echo "log-file /tmp/dirmngr.log" >> ~/.gnupg/dirmngr.conf
    killall dirmngr
    gpg --search-keys [email blocked]
    gpg --keyserver hkps:// --search-keys [email blocked]

    After running these commands, please send us the /tmp/dirmngr.log file

    1. open finder and press ⇧⌘G
    2. paste /tmp/dirmngr.log
    3. attach the dirmngr.log file to this discussion

    Once you are done, it's best to remove the debugging option:

    1. open finder and press ⇧⌘G
    2. paste ~/.gnupg/dirmngr.conf
    3. open that file with TextEdit
    4. remove the following lines
      • debug-level guru
      • debug-all
      • log-file /tmp/dirmngr.log

    Now open again and execute the following commands:

    rm /tmp/dirmngr.log killall dirmngr


Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Already uploaded files

  • 2018-07-08_04-54_DebugInfo.gpg 10.9 KB

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac