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

DkimHashStream ArgumentOutOfRangeException #188

Closed
breedbekkikker opened this issue Nov 17, 2015 · 2 comments
Closed

DkimHashStream ArgumentOutOfRangeException #188

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

Comments

@breedbekkikker
Copy link

A System.ArgumentOutOfRangeException occurs at MimeKit.Cryptography.DkimHashStream.ValidateArguments when calculating the DKIM body hash during verification. It concerns a 4096 bytes buffer where the last three bytes are [CR][LF][CR] and the first byte of the next 4096 bytes buffer is [LF].

See attached file for an example. Both relaxed and simple body canonicalization methods are affected.

message.txt

@jstedfast jstedfast added the bug Something isn't working label Nov 17, 2015
@jstedfast
Copy link
Owner

I've released MimeKit 1.2.15 to nuget.org with a fix for this.

@breedbekkikker
Copy link
Author

Thanks! It's working fine now.

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