GNOME Bugzilla – Bug 386471
gpg encrypted message not decrypted when signature key not available
Last modified: 2021-05-19 12:11:57 UTC
Please describe the problem: When you receive a message that is both encrypted and signed and try to view it, gpg is invoked to decrypt it but if the signature key is not present then the message is not shown even though it was decrypted properly. Steps to reproduce: 1. Go to bug 386468 and get the test mail attached to it 2. import the test mail and the gpg key referenced there 2. delete my public key 9AB78CA5 from your keyring 3. view the test mail in evolution Actual results: lots of errors are displayed of which the last is the fact that the signature key is not known, no message is shown Expected results: message should be shown with a broken lock icon saying the signature could not be verified Does this happen every time? yes Other information: this can actually be quite important if the senders key isn't available from keyservers for some odd reason or if you're offline. a workaround is to save the message and run it through gpg manually
*** Bug 531119 has been marked as a duplicate of this bug. ***
I can confirm this bug for Evolution Evolution 2.30.3
I can add that is also an issue in Evolution 2.32.2 Note that if a message is signed & encrypted /by evolution/ then the message is decrypted and the icon and message are displayed about the missing public key to verify the signature. Yet if the message is signed & encrypted /by Thunderbird/ the decryption dialog is shown and processed yet the contents are not rendered but displayed as attachments.
This bug also affects Evolution 3.2 as distributed by Oneiric.
*** Bug 586745 has been marked as a duplicate of this bug. ***
Same problem here (Evolution 3.2.2, Debian testing): I have set GnuPG to fetch missing keys automatically. If the signature key isn't found on the keyserver, Evolution shows an error and doesn't decrypt the message. Other mail programs open the message fine. After adding the signature key to my public keyring, Evolution shows it without problems.
Also in Evolution 3.2.3. Evolution output: Could not parse PGP message: gpg: armor header: Version: GnuPG v2.0.19 (GNU/Linux) gpg: public key is ******** gpg: public key is ******** gpg: using subkey ******** instead of primary key ******** gpg: using subkey ******** instead of primary key ******** gpg: public key is ******** gpg: encrypted with RSA key, ID ******** gpg: using subkey ******** instead of primary key ******** gpg: encrypted with 2048-bit RSA key, ID ********, created 2020-00-00 "foo@bar.baz" gpg: AES256 encrypted data gpg: original file name='' gpg: Signature made Sun 21 Oct 2012 00:00:00 PM CEST using RSA key ID ******** gpg: Can't check signature: public key not found
Possibly a duplicate of the (even older!) bug #273856.
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. As part of that, we are mass-closing older open tickets in bugzilla.gnome.org which have not seen updates for a longer time (resources are unfortunately quite limited so not every ticket can get handled). If you can still reproduce the situation described in this ticket in a recent and supported software version, then please follow https://wiki.gnome.org/Community/GettingInTouch/BugReportingGuidelines and create a new bug report ticket at https://gitlab.gnome.org/GNOME/evolution/-/issues/ Thank you for your understanding and your help.