Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the DateTime-Locale CPAN distribution.

Report information
The Basics
Id: 49085
Status: resolved
Priority: 0/
Queue: DateTime-Locale

People
Owner: Nobody in particular
Requestors: zefram [...] fysh.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 0.44



Subject: CR signature breakage in DT::Locale
Date: Fri, 28 Aug 2009 12:38:16 +0100
To: bug-DateTime-Locale [...] rt.cpan.org
From: Zefram <zefram [...] fysh.org>
There is a bug in Module::Signature which is causing false signature verification failures for DateTime::Locale. The bug is that it attempts to canonicalise line endings of text files for checksumming, but it does so in a way that doesn't work on perl 5.6. The practical upshot is that if you have \r\n line endings then a signature generated with perl 5.8+ will fail to verify on perl 5.6. All the XML files in tools/t/test-data have \r\n line endings, and so suffer this problem. There's an easy workaround: don't use \r\n. If all the files are changed to use \n, like the rest of the distribution, then checksums will be computed consistently. Of course, the principle of signing something other than what's actually distributed is a stupid idea that opens up security holes. I have mentioned this to the M::S author, along with the inconsistent-canonicalisation bug. -zefram