Re: Using gpg2 with SHA512
Jeffrey Stedfast <[email protected]> Mon, 29 Sep 2008 09:58:32 -0400
| Newsgroups | gmane.comp.gnome.evolution.patches |
|---|---|
| Organization | Novell, Inc. |
| Message-ID | <1222696712.25840.39.camel@serenity> |
seems reasonable to me. Jeff On Sun, 2008-09-28 at 21:56 +0200, Steffen Michalke wrote: > Steffen Michalke <[email protected]> writes: > > > Srinivasa Ragavan <[email protected]> writes: > > > >> On Thu, 2008-02-28 at 10:18 +0530, Johnny Jacob wrote: > >>> On Wed, 2008-02-27 at 10:19 -0500, Jeffrey Stedfast wrote: > >>> > On Wed, 2008-02-27 at 15:05 +0100, Steffen Michalke wrote: > >>> > > Hi, > >>> > > > >>> > > I'm using gpg v.2.0.8/libgcrypt 1.4.0 and wanted to test keys with > >>> > > maximum strength. Therefor I created a pair of keys with gpg2 > >>> > > --enable-dsa2. > >>> > > > >>> > > These keys are usable in Thunderbird, but can't be handled by Evolution > >>> > > (v2.21.92 btw.). The reason is that SHA-1 is hard wired as the hash > >>> > > method. > >>> > > > >>> > > From Thunderbird I learned that I had to use SHA-512 instead. I enclosed > >>> > > three patches against evolution-data-server and evolution (v2.21.92 > >>> > > both) which hard code SHA-512 as hash algorhythm for gpg. > >>> > > > >>> > > I confess that I'm not a C programmer so I don't know whether I broke > >>> > > something but the patches work for signing and encryption. > >>> > > >>> > There's a bug about this in Bugzilla somewhere, > >>> > >>> Bugzilla entry for this issue : > >>> http://bugzilla.gnome.org/show_bug.cgi?id=304415 > >> > >> Can you put your patches to bugzilla? So that it is tracked well :-) > >> > >>> > >>> > I think... basically, > >>> > the Right Fix(tm) is to provide a way for the user to choose what hash > >>> > algo Evolution should use. > >> > >> I agree to fejj's point. Can you look into this as well. You can contact > >> us on mail/chat for any help you need. > >> > >> -Srini > > > > Hi, > > > > I attached 2 patches against evolution and evolution-data-server > > v2.24.0. > > > > These patches (one line each) simply remove the default hash algorhythm, > > leaving the choice to gpg2 resp. the user settings in gpg.conf > > ("digest-algo"). To me, it seems to be fine to use the backends for such > > things. Signing e-mails now works with all the algorhythms which gpg2 > > knows of, given the "digest-algo" option is set (but > > "personal-digest-preferences", as described in the manpage, does not > > work here :-( ). > > > > The default method is SHA1. > > > > Cheers > > Steffen > > I try it again ;-) > > _______________________________________________ > Evolution-patches mailing list > [email protected] > http://mail.gnome.org/mailman/listinfo/evolution-patches