set type digest mode?

John W. Moore III jmoore3rd at bellsouth.net
Thu Oct 23 05:42:57 CEST 2008


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

Werewolf wrote:

> Been trying find references on net etc
> Is there way to set which digest mode gpg uses for clear signed messages
>  depending on which uid is set as the primary??  Tried edited the uid
> with setpref S9 S8 S7 S3 S2 H8 H3 H9 H10 Z2 Z3 Z1 but it still adds sha1
> and messages are set with sha1 even while h8 (sha256) first in the list.

In gpg.conf add the line:

digest-algo SHA256

Or in Enigmail on the 'Additional Parameters' line/box under the
'Advanced Tab add --digest-algo SHA256

You can also add these lines to gpg.conf:

personal-cipher-preferences S9 S2 S13 S10 S4 S12 S8 S11 S7 S3 S1
personal-digest-preferences H10 H9 H8 H11 H6 H3 H2
personal-compress-preferences Z3 Z2 Z1

FWIW; about 3 weeks ago there was a fairly extended thread on this List
surrounding the 'benefits' of the 'personal -X-preferences' lines.

JOHN ;)
Timestamp: Wednesday 22 Oct 2008, 23:42  --400 (Eastern Daylight Time)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10-svn4845: (MingW32)
Comment: Public Key at:  http://tinyurl.com/8cpho
Comment: Gossamer Spider Web of Trust: https://www.gswot.org
Comment: Homepage:  http://tinyurl.com/yzhbhx

iQEcBAEBCgAGBQJI//K9AAoJEBCGy9eAtCsPD4MIAIhiwcwPemFW9KiCxeuGG16i
Q4ocI6GdvzWSwlhUwi1g8y4YPDDVX0zLiq87blNOKdn+V7uh8+bv8Adib+kPGsv6
j0uG+tYWceeXPk7r8xQ1ApS/NEcrTOg3TokhoQChybQbdzyVFpwlJ6ycbYZnaT89
5D+lvbOBeQviFQs9GHyNwJvHccHpLlhgKrALTvyMLdCHeabQZA2RYkzUyA8cx66d
x0w26tdY5PqnGN2VeRRX49sSvjZ5E9trtZTSDsqW6M0YhqEKh3KLriyo1FL2vok4
tHDUaDW6Pqfq20fl5HmdXYCRTljPVUnMghY/AmgOAmtV5lqHONhkcGEhgTt5CN8=
=IkI2
-----END PGP SIGNATURE-----



More information about the Gnupg-users mailing list