Page MenuHome GnuPG

erron on gpa
Closed, InvalidPublic

Description

i have this problem on decrypt whit gpa

the gpgme library returned an unexpected error at gpafiledecryptop.c:538
someone can help me please?

Details

Version
3.1.6

Event Timeline

Please explain in detail what you did to receive this error message.

And please do not use Gpg4win 3.16 but the bug fixed release 3.1.7.

this error comes to me when I try to decrypt a message and I get this message

aheinecke triaged this task as Normal priority.Apr 9 2019, 2:19 PM
aheinecke added a subscriber: aheinecke.

I've tested it with Gpg4win-3.1.7, too and it works for me so something must be special.

GPA only handles: GPG_ERR_NO_DATA
GPG_ERR_DECRYPT_FAILED
GPG_ERR_BAD_PASSPHRASE

all others lead to the general error message above.

Can you try it with Kleopatra please and if it fails there, too please post the "Diagnostics" from Kleopatra.

Did you encrypt to a key of yours? You can only decrypt if you have the matching secret key for the public key you used for encryption. The error message: "No secret key" should be obvious.

Do you have a suggestion on how we can improve the error message?

@sapienza Can you try it with Kleopatra please and if it fails there, too please post the "Diagnostics" from Kleopatra. (See "Blocco note" in Kleopatra for the same functionality)

Sadly "no secret key" is not completely obvious. It can sometimes occur if the state is wrong. The Diagnostics will tell us more.

aheinecke added a project: Info Needed.

Closing this as invalid until the info requested in the last comment is provided.