MacGPG2: Issues

Michael's Avatar


23 May, 2017 10:39 AM

Cannot decrypt db dump.

$ gpg -d cpd-reduced.sql.gpg | docker exec -i restapi_db_1 mysql cpd gpg: AES encrypted data
gpg: encrypted with 1 passphrase
gpg: DBG: cleared passphrase cached with ID: S5A657BCB0D38815A
gpg: decryption failed: Bad session key

File to be decrypted.

macOS           10.12.5     16F73
GPG Suite       2017.1      1897n   (87683d7)
GPGMail         2.7         1219n   (528f510)
GPG Keychain    1.3.3       1336n   (0e4fa20)
GPGServices     1.11        943n    (872e77d)
MacGPG2         2.0.30      891n    (d962b47)
GPGPreferences  2.0.2       958n    (2ebf212)
Libmacgpg       0.8         802n    (7ee7104)
pinentry        0.9.7       20n     (e5fe53a)
  1. Support Staff 1 Posted by Steve on 24 May, 2017 03:49 PM

    Steve's Avatar

    Hi Michael,

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

    Could you try to run the following command in terminal and see if that helps:

    • killall gpg-agent

    Does that solve the problem? If not, this question is probably best asked at the gnupg users mailling list.

    All the best,

  2. 2 Posted by michaelharkess on 26 May, 2017 12:47 PM

    michaelharkess's Avatar

    Hi Steve,

    No problem at all.

    I had tried that but unfortunately no luck.

    I will post over there thanks for your reply.


  3. 3 Posted by michaelharkess on 26 May, 2017 12:51 PM

    michaelharkess's Avatar

    Hi again Steve,

    That link just takes me to a documentation page I can't see where to ask a question? Am probably just missing something obvious!


  4. Support Staff 4 Posted by Steve on 26 May, 2017 03:22 PM

    Steve's Avatar

    Yeah you have to take a few turns to get to the subscribe location. It is here:

  5. Steve closed this discussion on 18 Aug, 2017 08:48 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