emersion / go-msgauth

🔏 A Go library and tools for DKIM, DMARC and Authentication-Results
MIT License
162 stars 51 forks source link

Emails from startmail.com verify with opendkim, but not with go-msgauth #58

Closed emersion closed 8 months ago

emersion commented 8 months ago

This one for instance: https://lists.sr.ht/~sirodoht/mataroa-community/%3Co7uwxdbkfoyrelu5qgudcaetsg54kjeiywdecsqnwk5e6zkqjf%402kw32aoe7zt4%3E/raw

Invalid signature for startmail.com: dkim: signature did not verify: crypto/rsa: verification error
emersion commented 8 months ago

Comparing with the output of opendkim-testmsg -K, seems like go-msgauth includes the Message-Id header field twice in the signature…