Skip Menu |

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

Report information
The Basics
Id: 82913
Status: resolved
Priority: 0/
Queue: Mail-DKIM

People
Owner: jason [...] long.name
Requestors: Mark.Martinec [...] ijs.si
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: (no value)
Fixed in: 0.39



Subject: "Use of uninitialized value" on missing tags in DKIM-Signature in recent junk mail
With recent waves of junk mail I'm seeing lots of warnings about "Use of uninitialized value" in our logs due to missing 'd' and/or 's' tags in a signature: Use of uninitialized value in string ne at /usr/local/lib/perl5/site_perl/5.17.7/Mail/DKIM/Verifier.pm line 299, <> line 3. Use of uninitialized value $prms{"Selector"} in concatenation (.) or string at /usr/local/lib/perl5/site_perl/5.17.7/Mail/DKIM/PublicKey.pm line 91, <> line 3. Use of uninitialized value $prms{"Domain"} in concatenation (.) or string at /usr/local/lib/perl5/site_perl/5.17.7/Mail/DKIM/PublicKey.pm line 91, <> line 3. (btw, the final result is fine, it gives: "invalid (missing d tag)" ) Example mail causing the above warnings: Message-ID: <123@example.com> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; From: xxx <wmt-noreply@example.com> Date: Tue, 22 Jan 2013 12:25:25 -0800 (PST) Subject: test test
Developer release version 0.39_6, just released to CPAN today, contains fixes for these warnings. I intend to release this as version 0.40 later this week, if no problems are reported. Jason
Version 0.40, containing the fix for these warnings, is now on its way to CPAN. It should appear there within a few hours. I'm going to mark this ticket resolved.