set type digest mode?

David Shaw dshaw at jabberwocky.com
Thu Oct 23 05:55:13 CEST 2008


On Oct 22, 2008, at 11:42 PM, John W. Moore III wrote:

> 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

No.  Do this and you shoot yourself in the foot.  It violates the  
OpenPGP protocol.

David




More information about the Gnupg-users mailing list