Skip to content


use of Digest::SHA instead of Digest::SHA1 in checksum #196

carnil opened this Issue · 2 comments

2 participants



lib/perl5i/1/Meta/ and lib/perl5i/2/Meta/ both use Digest::SHA1 for the sha1 checksum. Digest::SHA is part of the standard perl distribution since perl v5.9.3 so this reduces the number of external dependencies by one.

Would it be possible to have perl5i using Digest::SHA? Most of the functionality (except sha1_transform) of Digest::SHA1 is also provided by Digest::SHA. Switching from Digest::SHA1 to Digest::SHA should be in principle as easy as substituting the use of Digest::SHA1 with Digest::SHA.

Many thanks for consideration! Backgound behind this request is in [1], the Debian Perl Group would like to drop the package providing Digest::SHA1, since Digest::SHA in perl core since 5.9.3 provides a similar interface.




Less dependencies good. I don't think I realized one was core and one is not when it was written.

Approved. Do it.

@doherty doherty added a commit to doherty/perl5i that referenced this issue
@doherty doherty Use core module Digest::SHA instead of Digest::SHA1
Fixes #196
@schwern schwern added a commit that referenced this issue
@schwern schwern Use the core Digest::SHA instead of Digest::SHA1.
Eliminate a CPAN dependency.  We don't need the rest of Digest::SHA1 yet.

For #196


@schwern schwern closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.