[gnupg-users] Preferred hash algorithm when signing

Laurent Jumet laurent.jumet at skynet.be
Tue Aug 21 18:26:53 CEST 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160


Hello Mika !

Mika Suomalainen <mkaysi at users.sourceforge.net> wrote:

>> I've made various test and I've realized that the hash algorithm
>> when signing is always SHA1, ignoring the preferred one. This
>> doesn't happen when I encrypt+sign.

> How have you set the preferrance? For me my preferrance seems to
> always be used.

    It primary depends on the lenghth of the main (signing) key.
    If main key is 1024, he cannot sign with SHA256; he can sign with a 
RIPEMD160 but not higher, and other preferences are ignored.

- -- 
Laurent Jumet
      KeyID: 0xCFAF704C
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (MingW32)

iHEEAREDADEFAlAzt4IqGGh0dHA6Ly93d3cucG9pbnRkZWNoYXQubmV0LzB4Q0ZB
RjcwNEMuYXNjAAoJEPUdbaDPr3BM3jkAoP07ofVCT0biAbEZ0Y+8szTSAGGSAKDn
XABKUzYgBrFZh3AbkYOFrwLphA==
=DceM
-----END PGP SIGNATURE-----



More information about the Gnupg-users mailing list