Generate new key failed

Leroy's Avatar

Leroy

12 Nov, 2014 01:52 PM

I Have tried to run the GPG Keychain new key and keep getting the message that: Generate new key failed!
Code = 0

Error text:
gpg: problem with the agent: End of file

I have installed the nightly build (Version 1.2b1 (abee943) (939n)) and keep getting same message.
Any ideas?

  1. Support Staff 1 Posted by Luke Le on 14 Nov, 2014 12:52 AM

    Luke Le's Avatar

    Hi Leroy,

    could you please check Console.app for any errors related to gnupg?
    You might find a crash log or something similar.

  2. 2 Posted by Leroy on 20 Nov, 2014 12:09 PM

    Leroy's Avatar

    Hi Luke
    I've tried to ge the software to work with the latest update. The mail plugin disabled message no longer appears but gpg programme still fails to generate new key. I've gone into the console logs and pulled any crash reports related to gpnugp. Any assistance would be great

    20/11/2014 09:17:44.919 sudo[1054]: root : TTY=unknown ; PWD=/private/tmp/PKInstallSandbox.gVQ94N/Scripts/org.gpgtools.macgpg2.pkg.Z9N2hp ; USER=root ; COMMAND=/usr/local/MacGPG2/libexec/fixGpgHome leecrofts /Users/leecrofts/.gnupg
    20/11/2014 11:42:03.207 sudo[2679]: root : TTY=unknown ; PWD=/private/tmp/PKInstallSandbox.3bQxTz/Scripts/org.gpgtools.macgpg2.pkg.K3mXbz ; USER=root ; COMMAND=/usr/local/MacGPG2/libexec/fixGpgHome leecrofts /Users/leecrofts/.gnupg
    20/11/2014 11:59:04.458 GPG Keychain[2932]: Error text: gpg: problem with the agent: End of file

    Status text: [GNUPG:] NEED_PASSPHRASE_SYM 3 3 2
    20/11/2014 12:02:08.028 GPG Keychain[3059]: Error text: gpg: problem with the agent: End of file

    Status text: [GNUPG:] NEED_PASSPHRASE_SYM 3 3 2

  3. 3 Posted by DB on 21 Nov, 2014 02:36 PM

    DB's Avatar

    Same problem. After over 1 hour of generating a 4K bit pair, I looked into the console and there were lots of crashes of gpg2 during execution with EXC_BAD_INSTRUCTION (SIGILL), but the GUI didn't say anything about it. I attached the crash trace, I'm on OS 10.10.1 Yosemite.

    Also I noticed some Keychain related issues:
    21.11.14 12:15:23,362 GPG Keychain[1562]: Failed to connect (newKeyView) outlet from (SheetController) to (NSView): missing setter or instance variable
    21.11.14 12:15:23,362 GPG Keychain[1562]: Failed to connect (newKey_advancedSubview) outlet from (SheetController) to (NSView): missing setter or instance variable
    21.11.14 12:15:23,409 GPG Keychain[1562]: Failed to connect (keysController) outlet from (GPGKeychainAppDelegate) to (NSTreeController): missing setter or instance variable

  4. Support Staff 4 Posted by Luke Le on 19 Dec, 2014 11:30 AM

    Luke Le's Avatar

    Hi DB, Leroy,

    this problem should be fixed in Beta 3 of GPG Suite.
    Could you please download and install that from https://gpgtools.org

    It would be great if you could let us know if that fixes your problem.

    Thanks

  5. 5 Posted by DB on 19 Dec, 2014 04:08 PM

    DB's Avatar

    Hi Luke Le,

    the problem is fixed in the current Beta, I tried it right after release of Beta 3 ;-) Thank you very much.

    By the way: I thought my private/public keyss were lost after the non-functioning versions in Yosemite, but luckily (and happily) all data, keys and settings became available again! So to every reader: Just use the current version and support the devs :-)

    Best regards

  6. Support Staff 6 Posted by Steve on 19 Dec, 2014 04:22 PM

    Steve's Avatar

    DB, thanks for your feedback. Glad this issue is fixed and you now got a working GPG Suite.

    All the best,
    steve

  7. Steve closed this discussion on 19 Dec, 2014 04:22 PM.

  8. Lee Crofts re-opened this discussion on 23 Dec, 2014 10:14 AM

  9. 7 Posted by Lee Crofts on 23 Dec, 2014 10:14 AM

    Lee Crofts's Avatar

    All working now, great! Just need to learn to use effectively now
    regards
    L

  10. Support Staff 8 Posted by Steve on 23 Dec, 2014 11:42 AM

    Steve's Avatar

    Glad, this is solved for you. I'm closing this discussion. If you need further assistance or have questions you can re-open this discussion here or open a new one any time.

    Best, steve

  11. Steve closed this discussion on 23 Dec, 2014 11:42 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