Skip Menu | will be shut down on March 1st, 2021.

This queue is for tickets about the Digest-HMAC CPAN distribution.

Report information
The Basics
Id: 69776
Status: resolved
Priority: 0/
Queue: Digest-HMAC

Owner: Nobody in particular
Requestors: CARNIL [...]

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

From salvatore.bonaccorso [...] Mon Jul 25 03: 10:12 2011
X-Virus: Hi! I am a header virus! Copy me into yours an join the fun!
MIME-Version: 1.0
X-Spam-Status: No, score=-6.759 tagged_above=-99.9 required=10 tests=[AWL=-0.649, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_HI=-5, SPF_NEUTRAL=0.779, T_TO_NO_BRKTS_FREEMAIL=0.01] autolearn=ham
Content-Disposition: inline
X-Spam-Flag: NO
X-Virus-Checked: Checked by ClamAV on
X-Operating-System: Debian GNU/Linux
Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="VS++wcV0S1rZb1Fb"
Message-ID: <20110725071002.GA22829 [...] elende>
X-Virus-Scanned: Debian amavisd-new at
X-Spam-Score: -6.759
Received: from localhost (localhost []) by (Postfix) with ESMTP id 0F8992404F5 for <cpan-bug+Digest-HMAC [...]>; Mon, 25 Jul 2011 03:10:12 -0400 (EDT)
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id 66rswC9uUFVW for <cpan-bug+Digest-HMAC [...]>; Mon, 25 Jul 2011 03:10:10 -0400 (EDT)
Received: from ( []) by (Postfix) with SMTP id 78AAD24045E for <bug-Digest-HMAC [...]>; Mon, 25 Jul 2011 03:10:10 -0400 (EDT)
Received: (qmail 18898 invoked by uid 103); 25 Jul 2011 07:10:09 -0000
Received: from ( by with QMQP; 25 Jul 2011 07:10:09 -0000
Received: from (HELO ( by (qpsmtpd/0.80/v0.80-19-gf52d165) with ESMTP; Mon, 25 Jul 2011 00:10:07 -0700
Received: by fxg9 with SMTP id 9so8392754fxg.0 for <bug-Digest-HMAC [...]>; Mon, 25 Jul 2011 00:10:04 -0700 (PDT)
Received: by with SMTP id i2mr4481517faj.42.1311577804327; Mon, 25 Jul 2011 00:10:04 -0700 (PDT)
Received: from elende ( []) by with ESMTPS id n27sm3630876faa.4.2011. (version=TLSv1/SSLv3 cipher=OTHER); Mon, 25 Jul 2011 00:10:03 -0700 (PDT)
Authentication-Results: (amavisd-new); dkim=pass header.i= [...]
Delivered-To: cpan-bug+Digest-HMAC [...]
User-Agent: Mutt/1.5.20 (2009-06-14)
Subject: Use of Digest::SHA in Perl core instead of Digest::SHA1
Return-Path: <salvatore.bonaccorso [...]>
X-RT-Mail-Extension: digest-hmac
X-Original-To: cpan-bug+Digest-HMAC [...]
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=gamma; h=sender:date:from:to:subject:message-id:mime-version:content-type :content-disposition:x-opensource:x-virus:x-operating-system :x-pgp-key:user-agent; bh=Hvn3vk6JkfLS8kS4c3zQpnxAXILx1tSIe9TP3jRZ6og=; b=JLWThKun2WjDe5Rtl8SjqTB13WK96ody2iW80cti3N78wy3wqiJafgCflSe4texQFo Ye5Ak/qckOV4A2Jhq9cYA7EXF2VNl/JSLJUj0/bxwR44aPtdKwWXi4Ooi4+yNpUJjxKH aDoDpJPsOKHZ7nqsNcqG17S6ujAOj7pOqKIVg=
Sender: Salvatore Bonaccorso <salvatore.bonaccorso [...]>
Date: Mon, 25 Jul 2011 09:10:02 +0200
X-Opensource: Have a lot of fun!
To: bug-Digest-HMAC [...]
From: Salvatore Bonaccorso <carnil [...]>
Content-Length: 0
content-type: text/plain; charset="utf-8"
Content-Disposition: inline
X-RT-Original-Encoding: us-ascii
Content-Length: 532
Download (untitled) / with headers
text/plain 532b
Hi Gisle The Digest-HMAC distributions uses internally for the module Digest::SHA1. Digest::SHA is part of the standard perl distribution since perl v5.9.3 so, if used in could reduce the external dependencies by one. Could it be possible to change Digest-HMAC to use Digest::SHA instead of Digest::SHA1? Or if you would like to keep Digest::SHA1, add some alternatives checking (e.g. like spamassassin does checking for Digest::SHA or as alternative Digest::SHA1)? Regards Salvatore, Debian Perl Group
Content-Description: Digital signature
content-type: application/pgp-signature; name="signature.asc"
Content-Disposition: inline
Content-Length: 836
Download signature.asc
application/pgp-signature 836b

Message body not shown because it is not plain text.

MIME-Version: 1.0
In-Reply-To: <20110725071002.GA22829 [...] elende>
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
References: <20110725071002.GA22829 [...] elende>
Content-Type: text/plain; charset="UTF-8"
Message-ID: <rt-3.8.HEAD-12439-1311613388-985.69776-0-0 [...]>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 25
Fixed in Digest-HMAC-1.03

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to