pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/55171: Canonicalization issue in OpenDKIM 2.10.3



>Number:         55171
>Category:       pkg
>Synopsis:       Canonicalization issue in OpenDKIM 2.10.3
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Apr 13 18:25:00 +0000 2020
>Originator:     Russell Hansen
>Release:        trunk
>Organization:
>Environment:
SunOS mail 5.11 joyent_20191205T020950Z i86pc i386 i86pc illumos
>Description:
E-mail messages from my work to my home server have been failing

dkim=fail reason="signature verification failed"

# opendkim -t work_to_home.eml
opendkim: work_to_home.eml: verification (s=<work_selector>, d=<work_domain>, 1024-bit key) succeeded

# opendkim-testmsg -K < work_to_home.eml
opendkim-testmsg: dkim_eom(): Bad signature

# cat work_to_home.eml
[...]
Message-ID:
 <BY5PR09MB54279DDC1D9C935E1681D7DFA2F40%BY5PR09MB5427.namprd09.prod.outlook.com@localhost>
[...]

# cat dkim.opendkim-testmsg.Hwauuw
message-id: <BY5PR09MB54279DDC1D9C935E1681D7DFA2F40%BY5PR09MB5427.namprd09.prod.outlook.com@localhost>

I don't know if the web for will preserve the formatting but there is a new line for the Message-ID field in the e-mail file and the space after the message-id: in the temp file from opendkim-testmsg -K.
>How-To-Repeat:
Send an e-mail with the message-id (or any header signed by DKIM) containing \r\n

e.g.

Message-ID: 
 <some_message_id>
From: 
 <some_person>
>Fix:
https://sourceforge.net/p/opendkim/bugs/226/#bd34
Attached ticket226.patch


Home | Main Index | Thread Index | Old Index