From ansgar [...] 43-1.org Thu Aug 12 01: | 03:50 2010 |
MIME-Version: | 1.0 |
X-Spam-Status: | No, score=-9.985 tagged_above=-99.9 required=10 tests=[AWL=-0.072, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, SPF_NEUTRAL=0.686] autolearn=ham |
X-Spam-Flag: | NO |
X-Virus-Checked: | Checked by ClamAV on 16.mx.develooper.com |
Content-Type: | multipart/mixed; boundary="=-=-=" |
Message-ID: | <87iq3gzahb.fsf [...] marvin.43-1.org> |
X-Virus-Scanned: | Debian amavisd-new at bestpractical.com |
X-Spam-Score: | -9.985 |
Received: | from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id B1C5A240896 for <cpan-bug+Apache-Htpasswd [...] hipster.bestpractical.com>; Thu, 12 Aug 2010 01:03:50 -0400 (EDT) |
Received: | from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ur1ErcFedf1v for <cpan-bug+Apache-Htpasswd [...] hipster.bestpractical.com>; Thu, 12 Aug 2010 01:03:48 -0400 (EDT) |
Received: | from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 8C1B124078D for <bug-Apache-Htpasswd [...] rt.cpan.org>; Thu, 12 Aug 2010 01:03:48 -0400 (EDT) |
Received: | (qmail 20394 invoked by uid 103); 12 Aug 2010 05:06:03 -0000 |
Received: | from x16.dev (10.0.100.26) by x1.dev with QMQP; 12 Aug 2010 05:06:03 -0000 |
Received: | from tsukuyomi.43-1.org (HELO tsukuyomi.43-1.org) (188.40.248.50) by 16.mx.develooper.com (qpsmtpd/0.80) with ESMTP; Wed, 11 Aug 2010 22:05:58 -0700 |
Received: | from marvin.43-1.org (202-71-92-76.ap-w01.canvas.ne.jp [202.71.92.76]) by tsukuyomi.43-1.org (Postfix) with ESMTPS id 3746720D21C4 for <bug-Apache-Htpasswd [...] rt.cpan.org>; Thu, 12 Aug 2010 07:05:55 +0200 (CEST) |
Received: | from ansgar by marvin.43-1.org with local (Exim 4.72) (envelope-from <ansgar [...] 43-1.org>) id 1OjPzE-0005hU-9v for bug-Apache-Htpasswd [...] rt.cpan.org; Thu, 12 Aug 2010 14:05:52 +0900 |
Delivered-To: | cpan-bug+Apache-Htpasswd [...] hipster.bestpractical.com |
User-Agent: | Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
Subject: | Use Digest::SHA instead of Digest::SHA1 |
Return-Path: | <ansgar [...] 43-1.org> |
X-RT-Mail-Extension: | apache-htpasswd |
X-Original-To: | cpan-bug+Apache-Htpasswd [...] hipster.bestpractical.com |
X-Spam-Check-BY: | 16.mx.develooper.com |
Date: | Thu, 12 Aug 2010 14:05:52 +0900 |
X-Spam-Level: | |
To: | bug-Apache-Htpasswd [...] rt.cpan.org |
From: | Ansgar Burchardt <ANSGAR [...] cpan.org> |
Content-Length: | 0 |
X-RT-Original-Encoding: | ascii |
content-type: | text/plain; charset="utf-8" |
Content-Length: | 420 |
Hi,
the attached patch changes Apache::Htpasswd to use the Digest::SHA module
instead of Digest::SHA1. Digest::SHA is part of the standard perl
distribution since perl v5.9.3 so this reduces the number of external
dependencies by one.
The patch also fixes the test to check for Digest::SHA instead of
Digest::MD5 when testing SHA1-hashed passwords.
Please consider applying it for the next release.
Regards,
Ansgar
Content-Type: | text/x-diff |
content-disposition: | attachment; filename="Apache-Htpasswd.diff" |
Content-Length: | 2218 |
Message body is not shown because sender requested not to inline it.