Comment 17 for bug 939128

Revision history for this message
Rob Nichols (0x2jjt-rob-0tlbog) wrote : Re: [Bug 939128] Re: validation by yahoo/hotmail fails because of whitespace in =?utf-8?Q?h=3D_?=or header folding issues

Thanks for the reminder, and my apologies for the the delay. I will get to this as soon as I can, hopefully in the next couple of days.

On Thursday, April 5, 2012 at 8:12 PM, Scott Kitterman wrote:

> ping about getting signed mails that fail at yahoo/hotmail so I can get
> them to look into it.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/939128
>
> Title:
> validation by yahoo/hotmail fails because of whitespace in h= or
> header folding issues
>
> Status in Module for DKIM signing and verification in Python:
> Confirmed
>
> Bug description:
> Hello. I am new to DKIM, and might be doing something silly.
>
> I build a message using email.mime, call as_string() on it, construct
> a DKIM object with the msg, and call sign. I prepend that signature
> onto my message, and send it. An email to a google apps account gives
> me "dkim=pass. An email to a yahoo account gives "dkim=permerror (bad
> sig)". This is using the same code, same from email and domain, etc..
> I get the same results using pydkim-3 and with the newer dkimpy-5.1.
>
> While I was still using pydkim-3, I tried different things, and
> managed to get both yahoo and gmail to give me a pass. I changed the
> sign function to omit the spaces around the colon in the "h=" list,
> and removed the call to the fold utility in the sign function so that
> the signature header was all on one long line. With those changes,
> yahoo and google were both happy.
>
> Any suggestions?
>
> Thanks,
> Rob
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/dkimpy/+bug/939128/+subscriptions
>
>