Skip Menu |

This queue is for tickets about the Mail-DKIM CPAN distribution.

Report information
The Basics
Id: 91889
Status: rejected
Priority: 0/
Queue: Mail-DKIM

People
Owner: Nobody in particular
Requestors: sewi [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.38
Fixed in: (no value)



Subject: Mail::DKIM::Signature sets invalid DKIM version v=1, should be v=DKIM1
Mail::DKIM::Signature initilizes the version in sub new: $self->version("1"); This version is used for the DKIM Signature lateron: DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=xxxxx; h=from:to:subject:mime-version:content-transfer-encoding:content-type:list-unsubscribe:date; s=mailv2-1k; bh=6Fb3zrP2v/kHxkUpEnr1VZuNxrc=; b=s9XvdnFPJ3x5kH7p4TlslqBta2WFrtiZAx3PE0C/xCUFUZnC32+aZvnjFDODL69/2eLAV5a17NnECYCpmpeK6zY+jVm7s0K/I2rx9W2Xfx/XWTKhMz8wMdTpd27c281Dxj0hP+3OYwiIgKfWEtg2scIo8tzeGGx5xr0ipqocpaw= According to the DKIM-specs, the version should be DKIM1: http://tools.ietf.org/html/rfc4871#section-3.6.1 v= Version of the DKIM key record (plain-text; RECOMMENDED, default is "DKIM1"). If specified, this tag MUST be set to "DKIM1" (without the quotes). This tag MUST be the first tag in the record. Records beginning with a "v=" tag with any other value MUST be discarded. Note that verifiers must do a string comparison on this value; for example, "DKIM1" is not the same as "DKIM1.0".
My mistake: DKIM1 is the correct version for the DNS TXT record, but the mail is correct with 1. Apologies for the false ticket.