[ 
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
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to