Re: [Evolution] Error from gpg - key requires a 256 bit or larger hash

2010-03-30 Thread b1
Hello Milan

Thank you very much for your answer. It seems like I am indeed suffering
from this bug. As it is discribed by Eric Hopper in the bug-report I
moved /usr/bin/gpg to /usr/bin/gpg.real and created a schell
script /usr/bin/gpg with the following content:

#!/bin/bash

if ls -l /proc/$PPID/exe | fgrep -e /usr/bin/evolution /dev/null; then
declare -a newopt
for opt in $@; do
if [ $opt != --digest-algo=SHA1 ]; then
newopt[${#newo...@]}]=$opt
fi
done
exec /usr/bin/gpg.real ${newo...@]}
else
exec /usr/bin/gpg.real $@
fi

After that everything works as expected. However this is indeed far away
from a true solution. I wonder why this hasn't been fixed until now,
since this bug report was opened in 2005. Seems like there are not many
people using gpg with evolution or all of these people are using SHA1...

Hopefully this will be fixed some day

Thanks for your help

Benedikt




On Tue, 2010-03-30 at 09:19 +0200, Milan Crha wrote:
 On Mon, 2010-03-29 at 23:02 +0200, b1 wrote:
  could not create message:
  because gpg: writing to `-'
  gpg: DSA key 0114C5B2 requires a 256 bit or larger hash
  gpg: signing failed: general error
  , you may need to select different mail options
 
   Hi,
 sounds like your key forces SHA256+ and denies with SHA1, which
 Evolution is using right now. It seems to me like this bug report:
 https://bugzilla.gnome.org/show_bug.cgi?id=304415
   Bye,
   Milan
 
 ___
 Evolution-list mailing list
 Evolution-list@gnome.org
 http://mail.gnome.org/mailman/listinfo/evolution-list


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


Re: [Evolution] Error from gpg - key requires a 256 bit or larger hash

2010-03-29 Thread b1
Thank you very much for your answer. Unfortunatelly I am still receiving
the same error:

could not create message:
because gpg: writing to `-'
gpg: DSA key 0114C5B2 requires a 256 bit or larger hash
gpg: signing failed: general error
, you may need to select different mail options

I have been running mozilla thunderbird with gpg before, without
problems. Having an error now ist therefore a bit strange.

Every idea is greatly appreciated



On Sun, 2010-03-28 at 19:12 -0430, Patrick O'Callaghan wrote:
 On Sun, 2010-03-28 at 16:55 +0200, b1 wrote:
  Hello alltogether
  
  I have, or at least I think I have configured PGP-Encryption in
  Evolution. 
  When I try to send a signed E-Mail, I get prompted for the passphrase.
  After entering the correct passphrase I however get an error from pgp:
  
  Could not create message:
  because gpg: writing to `-'
  gpg: DSA key 0114C5B2 requires a 256 bit or larger hash
  gpg: signing failed: general error
  , you may need to select different mail options
  
  I have absolutly no idea, of what to do now. I am using Evolution
  2.28.3.1 and gpg (GnuPG) 1.4.10.
  
  It would be really great if someone of you has some suggestions. 
 
 A quick search with Google turned up this:
 
 http://lists.gnupg.org/pipermail/gnupg-users/2007-December/032196.html
 
 poc
 
 ___
 Evolution-list mailing list
 Evolution-list@gnome.org
 http://mail.gnome.org/mailman/listinfo/evolution-list


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


[Evolution] Error from gpg - key requires a 256 bit or larger hash

2010-03-28 Thread b1
Hello alltogether

I have, or at least I think I have configured PGP-Encryption in
Evolution. 
When I try to send a signed E-Mail, I get prompted for the passphrase.
After entering the correct passphrase I however get an error from pgp:

Could not create message:
because gpg: writing to `-'
gpg: DSA key 0114C5B2 requires a 256 bit or larger hash
gpg: signing failed: general error
, you may need to select different mail options

I have absolutly no idea, of what to do now. I am using Evolution
2.28.3.1 and gpg (GnuPG) 1.4.10.

It would be really great if someone of you has some suggestions. 

Thanks in advance

B Brandt


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