Can't generate new GPG key (No agent running) Code = 77

Scott Chang's Avatar

Scott Chang

20 Nov, 2019 02:20 AM

Which of our tools is giving you problems? gpg suit

Attach a screenshot of the version info for all installed components (how to: https://gpgtools.tenderapp.com/kb/faq/where-can-i-find-version-info...): Please see attached

Describe your problem. Add as much detail as possible. I keep getting following error when generating new key:
Generate new key failed! (No agent running)
Code = 77
Error text:
gpg: can't connect to the agent: IPC connect call failed
gpg: agent_genkey failed: No agent running
gpg: key generation failed: No agent running

What did you expect instead generate key

Describe steps leading to the problem. create key

Are you using any other Mail.app plugins? no

  1. 1 Posted by Scott Chang on 20 Nov, 2019 04:30 AM

    Scott Chang's Avatar

    Fixed by deleting everything in ~/.gnupg then reinstalled gpg suit.

  2. Support Staff 2 Posted by Steve on 20 Nov, 2019 12:40 PM

    Steve's Avatar

    Hi Scott,

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

    Do you remember which version of GPG Suite you were running while encountering the problem?

    Did you have any existing secret keys in use already? Deleting the .gnupg folder is somewhat the last resort and a backup should always be created first.

    All the best,
    Steve

  3. Steve closed this discussion on 20 Jan, 2020 11:00 AM.

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