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



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[${#newopt[ ]}]="$opt"
        fi
    done
    exec /usr/bin/gpg.real "${newopt[ ]}"
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





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]