You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I started playing with this lib today, so far so good...
But in some cases I got DKIM-Result: fail (bad signature) when signing. I think it is because of the word wrapping on the headers.
I'm still researching how this should work, but so far it seems like a bug.
Hi, I started playing with this lib today, so far so good...
But in some cases I got
DKIM-Result: fail (bad signature)
when signing. I think it is because of the word wrapping on the headers.I'm still researching how this should work, but so far it seems like a bug.
For example: this header is ok...
If I add another header on the mail message just to change the signature a little bit.
The DKIM starts to failing, probably because of that '\r\n' that was inserted on the middle of the header text.
Also, if the header had the right size the '\r\n' will be on the selector.
Like this:
s=2\r\n 019
and will result in a DNS failure.I'm not sure how others handle this... I'll keep looking.
Let me know if you have any clue.
AFAIK we can't have FWS (folded white spaces on that header value).
https://tools.ietf.org/html/rfc6376
This is the result from the same header being handled by nodemailer:
The text was updated successfully, but these errors were encountered: