Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DKIM body hash with multipart/related #181

Closed
breedbekkikker opened this issue Oct 16, 2015 · 2 comments
Closed

DKIM body hash with multipart/related #181

breedbekkikker opened this issue Oct 16, 2015 · 2 comments
Labels
bug Something isn't working

Comments

@breedbekkikker
Copy link

When using Gmail's web interface to send an email with an inline image (copied from clipboard), the mime message is multipart/related. The first body part contains a multipart/alternative section. The boundary following the last body part of the multipart/alternative section and the boundary of the next body part of the multipart/related section are separated by a single CRLF. E.g.:

--e89a8f647253643e8f052238e631--
--e89a8f647253643e93052238e632

However, when using the DKIM Verify function to verify the Gmail message, the body hash is calculated over a body with an additional CRLF between these two boundaries. This results in falsifying these kind of Gmail messages.

jstedfast added a commit that referenced this issue Oct 16, 2015
@jstedfast jstedfast added the bug Something isn't working label Oct 16, 2015
@jstedfast
Copy link
Owner

I've released MimeKit 1.2.14 to NuGet with the fix for this bug.

@breedbekkikker
Copy link
Author

Great! Thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants