[gnupg-users] Preferred hash algorithm when signing

Mika Suomalainen mkaysi at users.sourceforge.net
Tue Aug 21 17:51:59 CEST 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

21.08.2012 14:21, Javier González del Tánago Liberal kirjoitti:
> 
> 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.

I have the following line in my gpg.conf:
personal-digest-preferences SHA512,SHA384,SHA256,SHA224,RIPEMD160,SHA1,MD5
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Public key: http://mkaysi.github.com/PGP/0x82A46728.txt
Comment: gpg --fetch-keys http://mkaysi.github.com/PGP/0x82A46728.txt
Comment: Fingerprint = 24BC 1573 B8EE D666 D10A  AA65 4DB5 3CFE 82A4 6728
Comment: Why do I (clear)sign emails? http://git.io/6FLzWg
Comment: Please remove PGP lines in replies. http://git.io/nvHrDg
Comment: Charset of this message should be UTF-8.
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBCgAGBQJQM66cAAoJEE21PP6CpGcoJCsP/jZBGF1sGot1cbSGA9YOFOka
IJF/ztR1aO3vczCWDsrVv6rVM9n+njAGPqOW5v3rUg8f8+cNYLwNlqZmhSOKRQo3
PgeDtGcZK3rUJhwWC+3E7ObtPcfeONMVf379n/GKd5gmXqkqBmnUWQNGNX8tF8kn
YQvgVxQHEAyjuW6+W7n6DEpteqnjGDrABuBlvm/bQ/aah5WROOVP+vCTk0uwTjdR
KryPscAIsmGLa1nV4mTTXvEyVFQJypZSezmijOwoKjStRHNXm/TgFOm9xA9gNTIE
pRrV+BQ1zK4ec6u74yRshPx130G1EHlcPeznXP4hR5J2IUKgBnDhJLDSxJcED3/H
ukqq+tak6v82gCJ4lR8ThRsu29HReucs0R7sc+tly4AUDcbBNQRXGzCXrIc89gW2
LzsLsDKE8/d2rG5dBaZiOdL2/06RcVx4WrE5RclLldGBd9NGU4zSIwqz1+21jrVp
duE6Lsd478zszFiF609eYOIQ1WIpCzUDMh0EZhpm3sOEvvAeh5yprixYWJmLwfS3
7t81qMDsMn45DyiChAuGH8q8/jkL+bnL2jLSKzTi1mMsjAvRL39o6xKafoszOJsU
w6kZMQNTcfjlX9v8hxX0VdVdF+JfXQH38XLf2wymOTANkjuQ7sR329guHp4w3lZ+
hUAqqvTSf4gIWzjfuc18
=l9oV
-----END PGP SIGNATURE-----



More information about the Gnupg-users mailing list