[gnupg-users] Preferred hash algorithm when signing
laurent.jumet at skynet.be
Tue Aug 21 18:26:53 CEST 2012
-----BEGIN PGP SIGNED MESSAGE-----
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.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (MingW32)
-----END PGP SIGNATURE-----
More information about the Gnupg-users