Page MenuHome GnuPG

Compliance: Invalid Crypto engine trying to decrypt / verify a file on Windows
Closed, ResolvedPublic

Description

I can only reproduce this on windows. Same versions of GpgME and (nearly the same of GnuPG) on Linux don't show the problem.

Encrypt a file to an RSA Key and an Elgamal Key and Sign it with an RSA key.

Try to decrypt + verify.

GPGME returns invalid crypto engine.

Revisions and Commits

Event Timeline

Ah! I can now also reproduce it on Linux, I had two gpgme's installed and the wrong one was picked up. Bisect here I come :-)

87703dbb86ac8fd8abd23170f8038ea6e3dbde28 was the offender. It called _gpgme_split_fields on a non fatal decrypt error which resulted in a mangled error passed to verify.