Hash algorithm in sign result

17 views
Skip to first unread message

Marcus Weseloh

unread,
Apr 16, 2013, 10:52:52 AM4/16/13
to python...@googlegroups.com
Hi,

I'm using python-gnupg to create signed email messages. Signing works great, but sending a correctly formatted email with signed data requires the "micalg" header to contain the hash algorithm used to sign the message. python-gnupg reads the hash algorithm value from the response created by GPG, but doesn't store it on the Sign object. Below is a link to a small patch that retains this information on the signature result. Any chance to have it included in your library?


Cheers,
     Marcus


Vinay Sajip

unread,
Apr 16, 2013, 11:00:47 AM4/16/13
to python-gnupg


On Apr 16, 3:52 pm, Marcus Weseloh <mweselo...@gmail.com> wrote:

> GPG, but doesn't store it on the Sign object. Below is a link to a small
> patch that retains this information on the signature result. Any chance to
> have it included in your library?
>

Yes, I can add this. To make sure it doesn't get overlooked, I'd
advise logging an issue against the project.

Thanks,

Vinay Sajip

Marcus Weseloh

unread,
Apr 23, 2013, 5:21:00 AM4/23/13
to python...@googlegroups.com
Great, thanks. I've created an issue (#67) for this.

Cheers,

    Marcus 
Reply all
Reply to author
Forward
0 new messages