GNOME Bugzilla – Bug 320876
Bad GPG message digest (hash) override behaviour
Last modified: 2005-11-07 23:44:42 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.
Created attachment 54419 [details] [review] Proposed patch to evolution-data-server
Created attachment 54420 [details] [review] Proposed patch to evolution
Created attachment 54421 [details] Screenshot of fixed Evolution working properly
patches are wrong. anyways, this really is a duplicate of bug #304415 *** This bug has been marked as a duplicate of 304415 ***
fejj: yeah, why are those patches wrong, or at least what must be fixed?