After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 335984 - unhelpful error message on failure to decode s/mime encrypted message
unhelpful error message on failure to decode s/mime encrypted message
Status: RESOLVED DUPLICATE of bug 273233
Product: evolution
Classification: Applications
Component: Mailer
2.6.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2006-03-25 17:59 UTC by Sebastien Bacher
Modified: 2009-02-24 18:25 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sebastien Bacher 2006-03-25 17:59:08 UTC
That bug has been opened on https://launchpad.net/distros/ubuntu/+source/evolution/+bug/33990

"I got an s/mime encrypted message the other day and got the message

Decoder failed, error -8147

Took me some time before I realized that the problem was that I hadn't imported my certificate. I even installed Thunderbird in hopes that this "decoder failure" might be a evolution-only problem.

The message should say something about what is actually wrong.

http://librarian.launchpad.net/1660365/error-8147.png
Screenshot of the error message.
...
> Thanks for your bug. What version of Ubuntu do you use? Do you have an example of such mail?
...
The bug exists on Dapper and Breezy. It's very likely an upstream bug.

Any s/mime encrypted email to which you don't have the key should produce the bug. I will try to attach an example that is encrypted to myself.

http://librarian.launchpad.net/1834239/example.eml
This email is encrypted to myself. If you can find a way to import it into evolution you should see the same bug."
Comment 1 Michael Lüdeke 2007-03-26 09:37:07 UTC
I experience the same problem and saw the same message appearing. I am using:
- Ubuntu 6.10
- Kernel 2.6.17-10-generic
- KDE 3.5.6
- Evolution 2.8.1

I hope there's a workaround. Thanks for keeping me posted.
ML
Comment 2 François Guerraz 2007-12-24 08:00:16 UTC
Well. I don't think there is a "workaround". Maybe the error message is unhelpful but it is normal that you can't decrypt a message that you sent to someone else because you don't have his/her private key...
Comment 3 arouse 2008-01-18 16:09:25 UTC
There is a 'workaround' for the non-problem.

Comment #2 is correct.

A message encrypted with the receiver's public key should be unreadable by any other person, including the sender (I get Decoder failed, error -8147). Exactly as it should be! But, yes, the error message could be clearer. Something like "Decryption key for foo@bar.com not found" could avoid spurious tickets?

There is a 'workaround' however. In the preferences window select the 'Mail Accounts' icon, select your default account (or each of them in turn), click on 'Edit', go to the 'Security' tab, and check the box next to 'Also encrypt to self when sending encrypted email'.

And voila! your problem is gone.

Comment 4 arouse 2008-01-18 16:15:05 UTC
I should added that this will not make previous encrypted emails legible.

Comment 5 Milan Crha 2009-02-24 18:25:54 UTC
I'll merge this with the other bug, as it is almost the same.

*** This bug has been marked as a duplicate of 273233 ***