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:


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"
    exec /usr/bin/gpg.real "${newopt[ ]}"
    exec /usr/bin/gpg.real "$@"

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


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

sounds like your key forces SHA256+ and denies with SHA1, which
Evolution is using right now. It seems to me like this bug report:

Evolution-list mailing list
Evolution-list gnome org

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