Encrypt/sign failed! Code = 0

Raf's Avatar


01 Jun, 2015 07:16 PM

Good evening, I'm new to PGP, and despite having followed your tutorial, the encryption system is not working.
I report my problem, I have successfully created my public key and private, and have already imported the public key of my friend.


I have the need to encrypt with Text Edit a written text, following these steps:

  • Select All
  • Right Click
  • Services
  • OpenPGP: Encrypt

It appears the error message attached. Do you know what it depends on? I successfully imported the public key of my friend without problems.

What did you expect instead

The encrypted text and not the error message.

Thanks for any answers, and congratulations for your work.

  1. 1 Posted by Markus on 01 Jun, 2015 10:08 PM

    Markus's Avatar

    Good evening, I have the exact same problem of Raf, I also opened my topic but got no answer. I get in the queue.


  2. 2 Posted by Raf on 03 Jun, 2015 09:18 PM

    Raf's Avatar

    I installed Gpg4win on another laptop, and it works. I crypted the text ...

    Then I moved the encrypted file in .asc format on mac, and decryption works!
    In short I can not encrypt anything on mac ..

    Nobody really knows what the problem is?


  3. 3 Posted by Raf on 05 Jun, 2015 06:11 PM

    Raf's Avatar

    No response from the support... program useless and doesn't work. a real shame...

    Best Regards

  4. Support Staff 4 Posted by Steve on 11 Jun, 2015 10:09 PM

    Steve's Avatar

    Raf: Do you have chrome installed? Are you using any extensions in chrome? Is PushBullet one of those extension? What other (if any) extensions are you using in chrome).

    Could you please open Console.app, try to encrypt a file and see if you find any error messages in console.app. If so, please post the output here.

    Markus: replied in your discussion.

    Stephan, I'll split your comment into a separate discussion. It has shown to be the most effective way of moving things forward and not loosing oversight during that :)

  5. 5 Posted by Raf on 12 Jun, 2015 04:25 PM

    Raf's Avatar

    Good evening, I do not have Chrome installed on mac. i use Safari and Firefox.
    I opened the console, deleted all the messages and tried to simulate the error of encryption, did not appear any error messages on the console.

    Any thoughts?

  6. Support Staff 6 Posted by Steve on 13 Jun, 2015 04:48 PM

    Steve's Avatar

    Hey Raf,

    can you hop on our live chat?

    The error message your screenshot shows does appear instantly after clicking the Services > OpenPGP: Encrypt option or do you see the GPGServices window and the error shows as soon as you click "Ok" in the GPGServices window to start the encryption?

    Can you please open Mail.app > Preferences > GPGMail and tell me which color you see for the bubble at the very top of that tab?


  7. 7 Posted by Raf on 14 Jun, 2015 05:15 PM

    Raf's Avatar

    Hey here i am,
    the error appears when I select the recipients and hit OK ...

    GPG Mail is ready.
    I am in your chat but there is no one now ..

  8. Support Staff 8 Posted by Steve on 19 Jun, 2015 09:52 AM

    Steve's Avatar

    Hi Raf,

    could you please let the debug script run on your machine and post the output .log file as attachment to this discussion. This KB-article explains how to do that. Once the script is finished, a new mail with the info as attachment will be created. Please take that attachment and add it to this discussion here.

    I'm switching this discussion to “Privat”. That means it can only be accessed by the core Team and the company hosting this platform.

    Best, steve

  9. Support Staff 9 Posted by Steve on 05 Nov, 2015 10:27 PM

    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

  10. Steve closed this discussion on 05 Nov, 2015 10:27 PM.

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