postalsys / mailauth

Command line utility and a Node.js library for email authentication
Other
127 stars 10 forks source link

question: why does a DKIM body hash not verify if message body starts with "\" character? #39

Closed titanism closed 1 year ago

titanism commented 1 year ago

why does a DKIM body hash not verify if message body starts with \ character?

andris9 commented 1 year ago

mailauth processes byte streams so the specific characters should not matter at all. Do you have a reproducable test case/script?

titanism commented 1 year ago

I can't seem to reproduce it now, definitely was a weird edge case, but at one point in time between Gmail <-> SMTP server it was going weird and not verifying hash if body started with \. I also can't seem to find my tests in my IMAP storage, so closing for now. Sorry to bother!

titanism commented 1 year ago

@andris9 we have just sent you an email regarding a reproducible edge case for this error