Page MenuHome GnuPG

The GPGME library returned an unexpected error at gpafiledecryptop.c:534.
Closed, InvalidPublic

Description

The GPGME library returned an unexpected
error at gpafiledecryptop.c:534. The error was:

General error

This is either an installation problem or a bug in GPA.
GPA will now try to recover from this error.

I can't import any public keys.
Total new guy to all things, but I learn fast.

On windows 10.

Details

Version
2.3.3

Event Timeline

dhg174 set Version to 2.3.3.
dhg174 added a subscriber: dhg174.
justus lowered the priority of this task from Unbreak Now! to Normal.Jan 24 2017, 11:19 AM
justus added a subscriber: justus.

Thanks for the report. The message you quoted is a very general error message,
and unfortunately does not really help identifying the problem.

Please describe in detail your setup, and how to reproduce this problem.

Djlok0 added a subscriber: Djlok0.

I also have had this problem. I just opened up my laptop for the first time in years. I was trying to decrypt text I encrypted years ago but I get that same error stated in the original post. Now I just remind you, this was encrypted years ago. In the encrypted message, after it says "begin pgp message," it says "version: GnuPg v2.0.20 (MingW32)" i am not sure if that matters, but that is all i have to give on my end other than i am currently using gpa 0.9.10 GnuPG 2.2.3

Any help would be greatly appreciated as this is a pretty urgent issue on my behalf. Thank you!!!

Can you please try to decrypt this message on the command line:

gpg -v -d -o OUTFILE INFILE

does this work? are there any warnings etc.?

I included two pictures of what is going on. The first picture is what I get from trying to decrypt the line that you gave me. The second picture is the original issue I was having. I do appreciate your help

Well, I meant to do this on the command line (cmd.exe). Replace INFILE with the name of the encrypted file and OUTFILE is the name of the file which will receive the decrypted data. You can't do that in the clipboard.

Anyway, the second screenshot shows that you don't have the secret key. Remember: You encrypt to a _public key_ and for decryption your _secret key_ is used. Thus if you encrypt for someone else you won't be able to decrypt it again. You may want to read the https://www.gpg4win.org/doc/en/gpg4win-compendium.html or another introduction into public key encryption.

Ah man. So let me ask you for clarification in case I am not understanding this right. You're saying I encrypted the message with someone else's public key?

werner claimed this task.

yes. That is the whole point of public key encryption. Please read one of the suggested intros or
ask for help at the gnupg-users@gnupg.org ML.

werner changed the task status from Resolved to Invalid.Dec 13 2017, 4:43 PM

Ok I apologize for my ignorance as I've been desperate for help with not many places to turn to. Thank you very much