Problems changing hash algo for clearsign

Raimar Sandner mail at 404not-found.de
Sun May 10 21:00:14 CEST 2009


On Sunday 10 May 2009 14:52:21 Tyler Spivey wrote:
> Hello. I'm trying to make any message I clearsign
> have a hash of SHA256.
> Here is what I've done so far:
> I've added "personal-digest-preferences SHA256" to the end of my gpg.conf
> file. According to the manpage, this should be enough; since the manpage
> states:
> The most highly ranked digest algorithm in
> this list is algo  used  when  signing  without  encryption  (e.g. 
> --clearsign  or --sign).
>
> but if I gpg --clearsign a test file, the hash at the top says SHA1. I've
> verified that My gpg 1.4.9 has sha256,
> and I can force it with --digest-algo sha256.
> What do I need to do to make it default to that on signs/clearsigns?

You might find this thread interisting:
http://lists.gnupg.org/pipermail/gnupg-users/2009-May/036338.html

especially David's reply
http://lists.gnupg.org/pipermail/gnupg-users/2009-May/036344.html

Raimar
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: </pipermail/attachments/20090510/5e608272/attachment.pgp>


More information about the Gnupg-users mailing list