Cannot decrypt file after putting in wrong passphrase

Stig Ravdal's Avatar

Stig Ravdal

07 Sep, 2012 07:31 PM


  • Software name and version: GPG Services / decrypt
  • OS X version: 10.8.1 (but was also not working under Lion)
  • GPGTools Installer date: re-installed about 2 weeks ago

What steps will reproduce the problem? Please be as specific as possible.

  1. I have a file file.asc that has been encrypted with a passphrase
  2. I right-click and choose Open PGP Services > Decrypt File
  3. Immediately I get an error message: "Decrypt failed! file.asc Decrypt failed! Error Code = 0"

On my windows machine I get the option of trying the passphrase again and it will work. Why can I not re-enter the passphrase.
I also removed and re-installed PGP Tools to no avail. What gives!
I downloaded the file again, saved to new location, same error. No option to try another passphrase. God forbid you fat finger the passphrase - you will never be able to open the message!



  1. Support Staff 1 Posted by Steve on 07 Sep, 2012 08:50 PM

    Steve's Avatar

    Hey Stig,

    sorry to hear you are having issues with GPGTools.

    Could you create a test file with symmetric encryption (Password) and attach it into this thread and give us the password so we can test this? Is this problem reproducible for you?

    All the best,

  2. 2 Posted by Stig Ravdal on 08 Sep, 2012 03:33 PM

    Stig Ravdal's Avatar

    Hey Steve,

    Thanks for the prompt reply. I just got it to work. I did the nightly
    install and after that when I attempted to decrypt the file it came up with
    the prompt to access my keychain. I said deny and at that point I was able
    to put in the correct passphrase and decrypt.

    So now I'm not sure what happened except that the passphrase was saved to my
    keychain for continued use and I didn't know how to undo that action.

    If you know how I can purge the passphrase from my keychain I would be all
    ears and thankful.



  3. Support Staff 3 Posted by Luke Le on 08 Sep, 2012 03:40 PM

    Luke Le's Avatar

    Hi Stig,

    to remove the passphrase from the keychain it should be as simple as,
    opening Keychain Access (not GPG Keychain Access), searching for "GnuPG" (without the quotes) and remove any entries you find.

    Hope that helps.

  4. 4 Posted by Stig Ravdal on 08 Sep, 2012 03:49 PM

    Stig Ravdal's Avatar

    That helps and I realize now my confusion - I was looking in GPG Keychain.


  5. 5 Posted by Stig Ravdal on 08 Sep, 2012 04:03 PM

    Stig Ravdal's Avatar

    Thanks - I found one and deleted it and will try it again. However, I think
    my issue is resolved. Thanks for the great help guys!


  6. Support Staff 6 Posted by Luke Le on 08 Sep, 2012 04:09 PM

    Luke Le's Avatar

    You're very welcome!
    I'll close this discussion. Feel free to open a new one if you run into problems again.

  7. Luke Le closed this discussion on 08 Sep, 2012 04:09 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