GPGMail: Failing to send signed messages (homebrew gpg)

Caleb Thompson's Avatar

Caleb Thompson

05 Jul, 2017 03:47 PM

When I try to send a signed email, I get:

Unfortunately we can't handle the error at this point.

Should your problem persist, please contact us at with the following error description:

gpg: signing failed: No secret key
gpg: signing failed: No secret key

No error, should send signed message.

Additional info
I also have homebrew gpg installed: ❯ brew list | grep pg

And it looks like gpg / gpg-agent are coming from there:
❯ ls -al which gpg lrwxr-xr-x 1 caleb.thompson admin 30 Jul 5 10:25 /usr/local/bin/gpg -> ../Cellar/gnupg/2.1.21/bin/gpg
❯ ls -al which gpg-agent lrwxr-xr-x 1 caleb.thompson admin 36 Jul 5 10:25 /usr/local/bin/gpg-agent -> ../Cellar/gnupg/2.1.21/bin/gpg-agent

macOS           10.12.5     16F73
GPG Suite       2017.1b3    1812    (d43863c)
GPGMail         2.7b3       1215    (d0b5fa0)
GPG Keychain    1.3.3b2     1271    (028a4a2)
GPGServices     1.11        916     (872e77d)
MacGPG2         2.0.30-1b2  887-    (4912d26)
GPGPreferences  2.0.2b3     927     (641418e)
Libmacgpg       0.7         782     (536bf51)
pinentry        0.9.7       4       (b75069d)
  1. Support Staff 1 Posted by Steve on 05 Jul, 2017 04:00 PM

    Steve's Avatar

    Hi Caleb,

    welcome to the GPGTools support platform. Sorry you are having problems using GPG Suite.

    Is there any specific reason you want to use homebrew?

    Can you temporarily remove the homebrew gpg and see if GPGMail works as expected after then re-installing GPG Suite?

    To remove homebrew gpg:

    1. remove homebrew gpg
    2. execute the following command
      sudo ln -s /usr/local/MacGPG2/bin/gpg2 /usr/local/bin/gpg

    All the best,

  2. Support Staff 2 Posted by Steve on 05 Jul, 2017 04:05 PM

    Steve's Avatar

    Note: For the re-install you may want to use our latest GPG Suite nightly build. That page also has sig and SHA256 to verify the download.

    All the best,

    Disclaimer: This is a development version which has not been thoroughly tested yet - bugs or crashes are to be expected. Thanks for helping us test.

  3. Support Staff 3 Posted by Steve on 18 Aug, 2017 11:08 AM

    Steve's Avatar

    Closing, since no further user feedback was received. Should your problem persist, feel free to re-open this discussion any time.

    All the best, steve

  4. Steve closed this discussion on 18 Aug, 2017 11:08 AM.

Comments are currently closed for this discussion. You can start a new one.

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