GPGMail: Unable to decrypt incoming.

Jan Sjölander's Avatar

Jan Sjölander

18 Dec, 2017 01:08 PM

This works:
JanOSX2:~ jasj$ /usr/local/MacGPG2/bin/gpg --decrypt Downloads/encrypted.asc
—— This does not!
Decrypt in Apple Mail.app doesn’t work. Same/similar popup as for command line to unlock key does not accept the key entered (three retries, same correct key as successfully used with command line gpg).

GPG error message:
gpg: Invalid passphrase; please try again ...
gpg: Invalid passphrase; please try again ...
gpg: encrypted with 4096-bit RSA key, ID 4BFECDD8, created 2017-01-24
"Mathias Jansson [email blocked]" gpg: encrypted with 4096-bit RSA key, ID BC58587C, created 2015-09-22
"Jan Sjölander (External 2) [email blocked]" gpg: public key decryption failed: bad passphrase
gpg: decryption failed: secret key not available

Expected
Worked fine from inside Apple Mail.app until GPG Suite upgrade the other day.

Additional info
macOS 10.10.5
GPG Suite 2017.2
GPGMail 2.6.4
GPG Keychain 1.4.1
GPGServices 1.4.2
MacGPG 2.2.3
GPG Suite Prefs 2.1.1
libmacgpg 0.8.1
pinentry 0.9.7

macOS                   10.10.5     14F2511
GPG Suite               2017.2      2063    (e459897)
GPGMail                 2.6.4       1249    (d765eca)
GPG Keychain            1.4.1       1391    (b5c89a4)
GPGServices             1.11.2      969     (e5438f7)
MacGPG                  2.2.3       895     (17e3e67)
GPG Suite Preferences   2.1.1       993     (05eb1a6)
Libmacgpg               0.8.1       826     (9410d73)
pinentry                0.9.7       6       (6aeb033)
  1. Support Staff 1 Posted by Luke Le on 18 Dec, 2017 01:16 PM

    Luke Le's Avatar

    Hi Jan,

    we are very sorry to hear you are experiencing problems with the latest version of GPG Suite.
    We believe this problem is triggered if a user has a custom GnuPG version installed along side of our MacGPG. From the debug log I can tell that that is the case for you.

    Could you please download and install our latest GPG Suite nightly build and see if it solves your problem. That page also has sig and SHA256 to verify the download.
    https://releases.gpgtools.org/nightlies/

    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.

  2. 2 Posted by Jan Sjölander on 18 Dec, 2017 01:26 PM

    Jan Sjölander's Avatar

    Yes. That did the trick.

    Thanks a lot!

    //Jan

  3. Support Staff 3 Posted by Luke Le on 18 Dec, 2017 04:52 PM

    Luke Le's Avatar

    Very glad to hear that!

    Closing this discussion. Feel free to open a new one anytime should you have questions or run into problems.

  4. Steve closed this discussion on 19 Dec, 2017 06:01 PM.

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

Keyboard shortcuts

Generic

? 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