Closed err-him closed 3 years ago
Can you try to compare emails which fail and emails which don't? Kind of hard to tell what's up without full email bodies.
sorry i havnt read the issue fully, i see that this issue is about signing, i had issues with verify. my fix is only to fix the verify issue, what happend sometimes when gmail sends mails with attachments. i have created #38 and copyed my research about my issue
Since body hash computation is used in both signing and verification, it is probably a good idea to keep that as one issue affecting both verify & signing.
@foxcpp so the relaxedCanonicalizer is also used for signing? I havnt checked this, but my fix works for my examples. If you have an better approach to fix this issue I can test it
Can you try master now that https://github.com/emersion/go-msgauth/pull/39 has been merged?
Yes it does fix the issue, I implemented the custom solution but seems it does better now.Thanks
Hi, I am using go-msgauth for DKIM signing, great work congratulations !!! I have problems with DKIM Signature in Gmail for a few email contents, for these content DKIM signature keep getting failed.
for an example :
complete headers are:
PS: DKIM is not failing for every email and for every domain. for few contents it keeps failing Any Idea? Thanks