why is SHA1 used? How do I get SHA256 to be used?

Peter Lebbing peter at digitalbrains.com
Tue Jul 10 17:03:21 CEST 2012


On 10/07/12 16:39, Laurent Jumet wrote:
> Do you succeed in having a SHA256 hash with this statement? How can I
> explain that I have RIPEMD160 instead?

Like Rob said,

> Also note that you're using a 1k DSA key for signing, so is it really so 
> surprising you're using a 160-bit hash algorithm?

To truncate SHA-256 to fit in a 1k DSA signature, specify "--enable-dsa2".

I personally don't use DSA, so there might be some more interesting options
related to it.

Peter.

-- 
I use the GNU Privacy Guard (GnuPG) in combination with Enigmail.
You can send me encrypted mail if you want some privacy.
My key is available at http://wwwhome.cs.utwente.nl/~lebbing/pubkey.txt



More information about the Gnupg-users mailing list