GnuPG 1.3.4 SHA256 problem?
dshaw at jabberwocky.com
Mon Dec 1 12:32:52 CET 2003
On Mon, Dec 01, 2003 at 11:19:14AM -0600, Joe Vender wrote:
> I've compiled the gnupg 1.3.4 code which is on the download site using
> MinGW on windows and am using it on windows. When I set
> digest-algo SHA256
> in my gpg.conf file, and then try to clearsign (or anything else), I get
> the following:
> "DSA requires the use of 160 bit hash algorithm
> clearsign failed: general error"
> If I use SHA1 as the digest-algo, everything seems to work. I thought
> that this version was supposed to have SHA256 read and write ability.
> What am I doing wrong?
SHA256 is a 256-bit hash. As the error says, DSA requires a 160-bit
SHA256 is only useful if you are using RSA.
More information about the Gnupg-devel