james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexei Osipov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (JDKIM-37) DKIM validation fails on message with empty body
Date Mon, 29 May 2017 13:06:04 GMT

    [ https://issues.apache.org/jira/browse/JDKIM-37?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16028307#comment-16028307

Alexei Osipov commented on JDKIM-37:

Related spec: [RFC 6376: The "relaxed" Body Canonicalization Algorithm | https://tools.ietf.org/html/rfc6376#section-3.4.4]

> DKIM validation fails on message with empty body
> ------------------------------------------------
>                 Key: JDKIM-37
>                 URL: https://issues.apache.org/jira/browse/JDKIM-37
>             Project: James jDKIM
>          Issue Type: Bug
>          Components: library
>         Environment: Windows 10, java 8 1.8.0_131
>            Reporter: Marco Nembrini
>         Attachments: empty_body_test.txt, empty_body.txt
> I'm having trouble verifying DKIM signatures on messages with an empty body:
> I am attaching a minimal test case with some personal info removed (one Received: header
and the UserAgent) and the email itself.
> The signature verifies (see the fastmail headers) and even opendkim is fine with it:
> opendkim -t empty_body.txt
> opendkim: empty_body.txt: verification (s=fm1, d=messagingengine.com, 2048-bit key) succeeded
> Either I'm doing something wrong in how i'm using the library or there is a bug, I hope
you can tell me which one is the case here.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org

View raw message