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 320876 - Bad GPG message digest (hash) override behaviour
Bad GPG message digest (hash) override behaviour
Status: RESOLVED DUPLICATE of bug 304415
Product: evolution-data-server
Classification: Platform
Component: Mailer
1.2.x (obsolete)
Other All
: Normal minor
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2005-11-07 14:17 UTC by Mukund Sivaraman
Modified: 2005-11-07 23:44 UTC
See Also:
GNOME target: ---
GNOME version: 2.9/2.10


Attachments
Proposed patch to evolution-data-server (2.33 KB, patch)
2005-11-07 14:38 UTC, Mukund Sivaraman
none Details | Review
Proposed patch to evolution (652 bytes, patch)
2005-11-07 14:39 UTC, Mukund Sivaraman
none Details | Review
Screenshot of fixed Evolution working properly (41.47 KB, image/png)
2005-11-07 14:39 UTC, Mukund Sivaraman
  Details

Description Mukund Sivaraman 2005-11-07 14:17:48 UTC
Please describe the problem:
I am a PGP user and I use SHA-512 as my default OpenPGP message digest (hash)..
it's also set in my key preferences. Using Evolution, I get the hash type
force-set to SHA-1 every time I send a mail. I looked at the source code just
now, and I see that it enforces SHA-1 instead of using the GnuPG defaults.
Patches will be attached here against my Fedora Core 4 Evolution SRPMS
(evolution-2.2.3-2.fc4 and evolution-data-server-1.2.3-3.fc4) to fix this
behaviour and also introduce SHA256, SHA384 and SHA512 message digests which
GnuPG 1.4.x stable supports.

Steps to reproduce:
1. Create a new keypair with the default hash preference as SHA512
2. Try sending mails with it
3. Check if SHA512 is really used


Actual results:
SHA-1 is used and the key preferences are overriden

Expected results:
The key preferences and/or the GPG preferences should be used by default unless
specified otherwise in Evolution's user-configuration

Does this happen every time?
Yes

Other information:
Patches will be attached to this bug.
Comment 1 Mukund Sivaraman 2005-11-07 14:38:51 UTC
Created attachment 54419 [details] [review]
Proposed patch to evolution-data-server
Comment 2 Mukund Sivaraman 2005-11-07 14:39:12 UTC
Created attachment 54420 [details] [review]
Proposed patch to evolution
Comment 3 Mukund Sivaraman 2005-11-07 14:39:50 UTC
Created attachment 54421 [details]
Screenshot of fixed Evolution working properly
Comment 4 Jeffrey Stedfast 2005-11-07 16:25:17 UTC
patches are wrong. anyways, this really is a duplicate of bug #304415

*** This bug has been marked as a duplicate of 304415 ***
Comment 5 André Klapper 2005-11-07 23:44:42 UTC
fejj: yeah, why are those patches wrong, or at least what must be fixed?