Error when trying to decrypt file with GPG Keychain Access
This comment was split from the discussion: Cannot import keys
Hi Luke,
I am surprised to hear form you as I did not believe my efforts
to post
were successful. Perhaps it is just a bad day but I was getting an
error
message when I attempted to reply to the posts also. In response to
your
question I have downloaded an encrypted file from a server that I
had
previously sent my key to. When I attempt to import/decrypt the
file I
receive the following message:
Import failed!
Code = 0
Error text:
gpg: [don't know]: invalid packet (ctb=7e)
gpg: read_block: read error: Invalid packet
gpg: import from `/dev/fd/5' failed: Invalid keyring
gpg: Total number processed: 0
Please forgive me if this is on my end and something simple but
I could
not find anything in the available documentation.
Thanks for your help
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
Support Staff 1 Posted by Luke Le on 06 Sep, 2012 09:21 PM
Hi Grant,
you should have gotten a email confirming that your post was successful. (Not entirely sure though)
Your attempt fails, because GPG Keychain Access can't be used to decrypt files but is only used to manage your keys.
What you want to do is to use GPGServices to decrypt the file.
Basically it should be as simple as right-clicking (ctrl+click) on the file, selecting Services -> OpenPGP: Decrypt file.
If you don't see that option it's possible you first have to active GPGServices.
In order to that please follow the instructions on http://support.gpgtools.org/kb/faq/how-do-i-activate-gpgservices
Hope that helps.
2 Posted by Grant Smith on 06 Sep, 2012 09:32 PM
Luke,
THANK YOU! It is amazing how simple something is when I finally ask
someone who knows. The program worked perfect. Have a great day.
Support Staff 3 Posted by Luke Le on 06 Sep, 2012 09:33 PM
Fantastic, very glad we've worked this out so quickly.
Have a great day too!
Luke Le closed this discussion on 06 Sep, 2012 09:33 PM.