Closed, InvalidPublic


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

No secret key

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


sapienza created this task.Feb 28 2019, 4:42 PM

i can t decrypt message!!!

werner closed this task as Invalid.
werner added a subscriber: werner.

You don't have the secret key part matching the public key part which was used to encrypt the message. You must decrypt on the same machine and account on which you created the key. Or you need to copy the secret key from the first machine to your current machine. GPA as export and import options for this. Please read the Gpg4win compendium to learn about the details

I have everything on the same machine until last week everything worked now does not allow me to decrypt only that my pc had a forced shutdown of windows I would not have been the one I tried to uninstall and reinstall pgp4win yesterday but the problem remains

Does gpa show that your key has a public and secret part?
Open a command shell (cmd.exe) and enter: gpg -v -K
This list all you secret keys - Do you see it something like

sec   rsa2048 2016-06-22 [SC]
ssb   rsa2048 2016-06-22 [E]
sapienza added a comment.EditedMar 3 2019, 10:25 AM

Hello in the meantime thank you for the help I sent the command and I come out the same as the example you sent me change only rsa4096 that I set voluntarily when creating the key. I realized now read well that I mistakenly indicated the wrong e-mail address is it possible to correct it? if I can send you a screenshot. let me know