r77830 - in /trunk/libdigest-hmac-perl: Changes META.yml Makefile.PL debian/changelog lib/Digest/HMAC.pm lib/Digest/HMAC_SHA1.pm
carnil at users.alioth.debian.org
carnil at users.alioth.debian.org
Mon Jul 25 19:49:22 UTC 2011
Author: carnil
Date: Mon Jul 25 19:49:21 2011
New Revision: 77830
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=77830
Log:
* New upstream release
+ uses Digest::SHA instead of Digest::SHA1.
Modified:
trunk/libdigest-hmac-perl/Changes
trunk/libdigest-hmac-perl/META.yml
trunk/libdigest-hmac-perl/Makefile.PL
trunk/libdigest-hmac-perl/debian/changelog
trunk/libdigest-hmac-perl/lib/Digest/HMAC.pm
trunk/libdigest-hmac-perl/lib/Digest/HMAC_SHA1.pm
Modified: trunk/libdigest-hmac-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdigest-hmac-perl/Changes?rev=77830&op=diff
==============================================================================
--- trunk/libdigest-hmac-perl/Changes (original)
+++ trunk/libdigest-hmac-perl/Changes Mon Jul 25 19:49:21 2011
@@ -1,3 +1,13 @@
+2011-07-25 Gisle Aas <gisle at ActiveState.com>
+
+ Release 1.03
+
+ Depend on Digest::SHA instead of Digest::SHA1 [RT#69776]
+
+ Document the blocksize argument [RT#14551]
+
+
+
2010-01-10 Gisle Aas <gisle at ActiveState.com>
Release 1.02
Modified: trunk/libdigest-hmac-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdigest-hmac-perl/META.yml?rev=77830&op=diff
==============================================================================
--- trunk/libdigest-hmac-perl/META.yml (original)
+++ trunk/libdigest-hmac-perl/META.yml Mon Jul 25 19:49:21 2011
@@ -1,6 +1,6 @@
--- #YAML:1.0
name: Digest-HMAC
-version: 1.02
+version: 1.03
abstract: Keyed-Hashing for Message Authentication
author:
- Gisle Aas <gisle at activestate.com>
@@ -11,14 +11,14 @@
build_requires:
ExtUtils::MakeMaker: 0
requires:
- Digest::MD5: 2
- Digest::SHA1: 1
- perl: 5.004
+ Digest::MD5: 2
+ Digest::SHA: 1
+ perl: 5.004
no_index:
directory:
- t
- inc
-generated_by: ExtUtils::MakeMaker version 6.55_02
+generated_by: ExtUtils::MakeMaker version 6.57_05
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
version: 1.4
Modified: trunk/libdigest-hmac-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdigest-hmac-perl/Makefile.PL?rev=77830&op=diff
==============================================================================
--- trunk/libdigest-hmac-perl/Makefile.PL (original)
+++ trunk/libdigest-hmac-perl/Makefile.PL Mon Jul 25 19:49:21 2011
@@ -6,7 +6,7 @@
'VERSION_FROM' => 'lib/Digest/HMAC.pm',
'ABSTRACT_FROM' => 'lib/Digest/HMAC.pm',
'PREREQ_PM' => { 'Digest::MD5' => 2.00,
- 'Digest::SHA1' => 1.00,
+ 'Digest::SHA' => 1.00,
},
'AUTHOR' => 'Gisle Aas <gisle at activestate.com>',
'LICENSE' => 'perl',
Modified: trunk/libdigest-hmac-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdigest-hmac-perl/debian/changelog?rev=77830&op=diff
==============================================================================
--- trunk/libdigest-hmac-perl/debian/changelog (original)
+++ trunk/libdigest-hmac-perl/debian/changelog Mon Jul 25 19:49:21 2011
@@ -1,3 +1,10 @@
+libdigest-hmac-perl (1.03+dfsg-1) UNRELEASED; urgency=low
+
+ * New upstream release
+ + uses Digest::SHA instead of Digest::SHA1.
+
+ -- Salvatore Bonaccorso <carnil at debian.org> Mon, 25 Jul 2011 21:48:18 +0200
+
libdigest-hmac-perl (1.02+dfsg-1) unstable; urgency=low
[ Jonathan Yu ]
Modified: trunk/libdigest-hmac-perl/lib/Digest/HMAC.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdigest-hmac-perl/lib/Digest/HMAC.pm?rev=77830&op=diff
==============================================================================
--- trunk/libdigest-hmac-perl/lib/Digest/HMAC.pm (original)
+++ trunk/libdigest-hmac-perl/lib/Digest/HMAC.pm Mon Jul 25 19:49:21 2011
@@ -1,5 +1,5 @@
package Digest::HMAC;
-$VERSION = "1.02";
+$VERSION = "1.03";
use strict;
@@ -98,6 +98,15 @@
takes the secret key and the name of some other simple C<Digest::>
as argument.
+The hmac() and hmac_hex() functions and the Digest::HMAC->new() constructor
+takes an optional $blocksize argument as well. The HMAC algorithm assumes the
+digester to hash by iterating a basic compression function on blocks of data
+and the $blocksize should match the byte-length of such blocks.
+
+The default $blocksize is 64 which is suitable for the MD5 and SHA-1 digest
+functions. For stronger algorithms the blocksize probably needs to be
+increased.
+
=head1 SEE ALSO
L<Digest::HMAC_MD5>, L<Digest::HMAC_SHA1>
Modified: trunk/libdigest-hmac-perl/lib/Digest/HMAC_SHA1.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdigest-hmac-perl/lib/Digest/HMAC_SHA1.pm?rev=77830&op=diff
==============================================================================
--- trunk/libdigest-hmac-perl/lib/Digest/HMAC_SHA1.pm (original)
+++ trunk/libdigest-hmac-perl/lib/Digest/HMAC_SHA1.pm Mon Jul 25 19:49:21 2011
@@ -1,8 +1,8 @@
package Digest::HMAC_SHA1;
-$VERSION="1.01";
+$VERSION="1.03";
use strict;
-use Digest::SHA1 qw(sha1);
+use Digest::SHA qw(sha1);
use Digest::HMAC qw(hmac);
# OO interface
@@ -11,7 +11,7 @@
sub new
{
my $class = shift;
- $class->SUPER::new($_[0], "Digest::SHA1", 64);
+ $class->SUPER::new($_[0], "Digest::SHA", 64); # Digest::SHA defaults to SHA-1
}
# Functional interface
@@ -62,7 +62,7 @@
=head1 SEE ALSO
-L<Digest::HMAC>, L<Digest::SHA1>, L<Digest::HMAC_MD5>
+L<Digest::HMAC>, L<Digest::SHA>, L<Digest::HMAC_MD5>
=head1 AUTHOR
More information about the Pkg-perl-cvs-commits
mailing list