LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-25-2010, 02:34 PM   #1
digger86
LQ Newbie
 
Registered: Jun 2009
Location: Oregon
Distribution: SLES, HPUX, SOLARIS
Posts: 24

Rep: Reputation: 0
Email encryption error


When I use evolution to encrypt an email I get the following error

Code:
could not create message
Because "gpg: writing to `-'
gpg: DSA key AC806A0E requires a 256 bit or larger hash
gpg: signing failed: General error
", you may need to select different mail options.

information:
Code:
# gpg --version
gpg (GnuPG) 2.0.12
libgcrypt 1.4.4
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Home: ~/.gnupg
Supported algorithms:
Pubkey: RSA, ELG, DSA
Cipher: 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH, CAMELLIA128, 
        CAMELLIA192, CAMELLIA256
Hash: MD5, SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
Compression: Uncompressed, ZIP, ZLIB, BZIP2

# cat /etc/SuSE-brand
openSUSE
VERSION = 11.2

# egrep -v '^#' gpg.conf | egrep -v '^$'
require-cross-certification
keyserver  hkp://keys.gnupg.net
personal-digest-preferences SHA256
cert-digest-algo SHA256

thanks!
 
Old 05-25-2010, 03:49 PM   #2
rweaver
Senior Member
 
Registered: Dec 2008
Location: Louisville, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833

Rep: Reputation: 167Reputation: 167
Your key requires sha256 or better and evolution is probably defaulting to using sha1 (thats what its been every time I've seen this error in the past anyways.) You need to change it.
See: https://bugzilla.gnome.org/show_bug.cgi?id=304415
 
Old 05-26-2010, 02:28 PM   #3
digger86
LQ Newbie
 
Registered: Jun 2009
Location: Oregon
Distribution: SLES, HPUX, SOLARIS
Posts: 24

Original Poster
Rep: Reputation: 0
Thanks! that is it.

Ashame that the bug has been around for 5 years and you have to use SHA1 over the new improved SHA2.
 
Old 05-26-2010, 03:08 PM   #4
rweaver
Senior Member
 
Registered: Dec 2008
Location: Louisville, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833

Rep: Reputation: 167Reputation: 167
I think there was a patch or evolution was changed so you could change what it uses, but where that's at I'm not sure anymore.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Pipe email to extract attachments. Script works, but email sender receives an error! ceashton Linux - Server 4 01-08-2019 11:13 AM
Encryption Error rh-penguin Linux - Wireless Networking 14 09-10-2006 02:03 AM
Email Encryption AvatarofVirgo Linux - Security 4 02-11-2005 11:20 PM
Encryption in wireless email? mikeshn General 3 08-11-2002 06:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration