Problems changing hash algo for clearsign
dshaw at jabberwocky.com
Sun May 10 20:02:31 CEST 2009
On May 10, 2009, at 8:52 AM, Tyler Spivey wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> Hello. I'm trying to make any message I clearsign
> have a hash of SHA256.
If the key you are trying to make a SHA256 signature with is the same
one that you signed this message with, then you can't. It's a 1024-
bit DSA key, and that key can only use a 160 bit hash. (You can force
it to use SHA256, but you'll still end up using only 160 bits of the
256 bit hash).
More information about the Gnupg-users