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-Signature header, Signature Timestamp "t=" not correct #180

Closed
AldeaAlexandra opened this issue Oct 14, 2015 · 3 comments
Closed

DKIM-Signature header, Signature Timestamp "t=" not correct #180

AldeaAlexandra opened this issue Oct 14, 2015 · 3 comments
Labels
bug Something isn't working

Comments

@AldeaAlexandra
Copy link

Issue :
The signature timestamp from the DKIM-Signature header , generated after Sign-ing a MimeMessage with a DkimSigner is computed based on local machine time (DateTime.Now), and not on UTC time zone, as specified in RFC6376.

I encountered this problem while testing my DKIM signed emails, sent to a Postfix mail server installed on a Fedora virtual machine, with opendkim mail filter, and got an error from opendkim : "signature timestamp in the future".
The problem is in MimeMessage.cs , line 1432.

Could the problem be fixed?

@jstedfast
Copy link
Owner

Thanks for the bug report!

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

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

@breedbekkikker
Copy link

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

3 participants