debian/0000755000000000000000000000000011643113362007166 5ustar debian/control0000644000000000000000000000210211643113362010564 0ustar Source: libcrypt-dsa-perl Section: perl Priority: optional Build-Depends: debhelper (>= 8) Build-Depends-Indep: perl, libconvert-asn1-perl, libconvert-pem-perl, libcrypt-des-ede3-perl, libdata-buffer-perl, libfile-spec-perl, libfile-which-perl, libmath-bigint-gmp-perl Maintainer: Debian Perl Group Uploaders: Julián Moreno Patiño Standards-Version: 3.9.2 Homepage: http://search.cpan.org/dist/Crypt-DSA/ Vcs-Git: git://git.debian.org/pkg-perl/packages/libcrypt-dsa-perl.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libcrypt-dsa-perl.git Package: libcrypt-dsa-perl Architecture: all Depends: ${perl:Depends}, ${misc:Depends}, libconvert-asn1-perl, libconvert-pem-perl, libdata-buffer-perl, libfile-spec-perl, libfile-which-perl Recommends: libmath-bigint-gmp-perl Description: Perl module for DSA Signatures and Key Generation Crypt::DSA is a pure Perl implementation of DSA (Digital Signature Algorithm). It provides DSA signing, signature verification, and key generation. debian/copyright0000644000000000000000000000260111643113362011120 0ustar Format: http://anonscm.debian.org/viewvc/dep/web/deps/dep5.mdwn?revision=174 Upstream-Contact: Benjamin Trott Upstream-Name: Crypt-DSA Source: http://search.cpan.org/dist/Crypt-DSA/ Files: * Copyright: 2006-2011 Benjamin Trott License: Artistic or GPL-1+ Files: lib/Crypt/DSA/Util.pm Copyright: 2006-2011 Benjamin Trott License: Artistic or GPL-1+ Comment: Parts taken from Crypt::RSA::DataFormat which is "Copyright (c) 2001, Vipul Ved Prakash" Files: inc/Module/* Copyright: 2008-2011 Adam Kennedy License: Artistic or GPL-1+ Files: debian/* Copyright: 2009 Daniel Kahn Gillmor 2011 Julián Moreno Patiño License: Artistic or GPL-1+ License: Artistic This program is free software; you can redistribute it and/or modify it under the terms of the Artistic License, which comes with Perl. . On Debian systems, the complete text of the Artistic License can be found in `/usr/share/common-licenses/Artistic'. License: GPL-1+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version. . On Debian systems, the complete text of version 1 of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-1'. debian/watch0000644000000000000000000000015711643113362010222 0ustar version=3 http://search.cpan.org/dist/Crypt-DSA/ .*/Crypt-DSA-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ debian/patches/0000755000000000000000000000000011643113362010615 5ustar debian/patches/series0000644000000000000000000000004711643113362012033 0ustar remove-fallback 00_use_digest_sha.diff debian/patches/00_use_digest_sha.diff0000644000000000000000000000156111643113362014737 0ustar Description: Use Digest::SHA instead deprecated Digest::SHA1 Origin: vendor Forwarded: https://rt.cpan.org/Public/Bug/Display.html?id=71342 Author: Julián Moreno Patiño Last-Update: 2011-09-29 --- a/lib/Crypt/DSA.pm +++ b/lib/Crypt/DSA.pm @@ -2,7 +2,7 @@ use 5.006; use strict; -use Digest::SHA1 qw( sha1 ); +use Digest::SHA qw( sha1 ); use Carp qw( croak ); use Crypt::DSA::KeyChain; use Crypt::DSA::Key; @@ -225,7 +225,7 @@ is a shorter way of writing - use Digest::SHA1 qw( sha1 ); + use Digest::SHA qw( sha1 ); my $sig = $dsa->sign(Digest => sha1( $message ), ... ); =back --- a/lib/Crypt/DSA/KeyChain.pm +++ b/lib/Crypt/DSA/KeyChain.pm @@ -2,7 +2,7 @@ use strict; use Math::BigInt 1.78 try => 'GMP, Pari'; -use Digest::SHA1 qw( sha1 ); +use Digest::SHA qw( sha1 ); use Carp qw( croak ); use IPC::Open3; use File::Spec; debian/patches/remove-fallback0000644000000000000000000000122511643113362013572 0ustar Description: Remove the ability to fall back to Data::Random Forwarded: yes Bug: https://rt.cpan.org/Public/Bug/Display.html?id=71421 Author: Harlan Lieberman-Berg --- a/lib/Crypt/DSA/Util.pm +++ b/lib/Crypt/DSA/Util.pm @@ -64,11 +64,8 @@ } close $fh; } - elsif ( require Data::Random ) { - $r .= Data::Random::rand_chars( set=>'numeric' ) for 1..$bytes; - } else { - croak "makerandom requires /dev/random or Data::Random"; + croak "makerandom requires /dev/random"; } my $down = $size - 1; $r = unpack 'H*', pack 'B*', '0' x ( $size % 8 ? 8 - $size % 8 : 0 ) . debian/compat0000644000000000000000000000000211643113362010364 0ustar 8 debian/changelog0000644000000000000000000000125311643113362011041 0ustar libcrypt-dsa-perl (1.17-3) unstable; urgency=low * Team upload. * Add patch to remove fallback to Data::Random (Closes: #644189). -- Harlan Lieberman-Berg Mon, 03 Oct 2011 14:39:15 -0400 libcrypt-dsa-perl (1.17-2) unstable; urgency=low * Team upload. * Drop libdata-random-perl from Depends and Build-Depends-Indep, all kernels in Debian should have /dev/random nowadays. (Closes: #644036) -- gregor herrmann Mon, 03 Oct 2011 17:27:21 +0200 libcrypt-dsa-perl (1.17-1) unstable; urgency=low * Initial Release. (Closes: #441989) -- Julián Moreno Patiño Wed, 28 Sep 2011 00:22:01 -0500 debian/source/0000755000000000000000000000000011643113362010466 5ustar debian/source/format0000644000000000000000000000001411643113362011674 0ustar 3.0 (quilt) debian/rules0000755000000000000000000000003611643113362010245 0ustar #!/usr/bin/make -f %: dh $@