Hash algo for signing e-mails with GnuPG v2.0.9

View: New views
1 Messages — Rating Filter:   Alert me  

Hash algo for signing e-mails with GnuPG v2.0.9

by Bugzilla from stmichalke@germanynet.de :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all:

I've updated the patches for evolution-data-server and evolution
v2.25.91.

Tested with gpg.conf option
digest-algo SHA1
digest-algo SHA512
digest-algo RIPEMD160
# digest-algo

The last setting results in gpg's default SHA1.

Cheers
Steffen


[eds-camel-camel_gpg_context_c.225.patch]

--- evolution-data-server-2.25.91/camel/camel-gpg-context.c 2009-02-13 08:39:09.000000000 +0100
+++ evolution-data-server-2.25.91/camel/camel-gpg-context.c 2009-02-27 11:08:08.000000000 +0100
@@ -126,7 +126,6 @@
  case CAMEL_CIPHER_HASH_MD5:
  return "pgp-md5";
  case CAMEL_CIPHER_HASH_SHA1:
- case CAMEL_CIPHER_HASH_DEFAULT:
  return "pgp-sha1";
  case CAMEL_CIPHER_HASH_RIPEMD160:
  return "pgp-ripemd160";


[evo-composer_e-msg_composer_c.225.patch]

--- evolution-2.25.91/composer/e-msg-composer.c 2009-02-13 08:39:37.000000000 +0100
+++ evolution-2.25.91/composer/e-msg-composer.c 2009-02-27 11:14:51.000000000 +0100
@@ -806,7 +806,7 @@
  CamelMimePart *npart = camel_mime_part_new ();
 
  cipher = mail_crypto_get_pgp_cipher_context (account);
- camel_cipher_sign (cipher, pgp_userid, CAMEL_CIPHER_HASH_SHA1, part, npart, &ex);
+ camel_cipher_sign (cipher, pgp_userid, CAMEL_CIPHER_HASH_DEFAULT, part, npart, &ex);
  camel_object_unref (cipher);
 
  if (camel_exception_is_set (&ex)) {



_______________________________________________
Evolution-patches mailing list
Evolution-patches@...
http://mail.gnome.org/mailman/listinfo/evolution-patches

signature.asc (236 bytes) Download Attachment