https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6200

           Summary: Replace use of Digest::SHA1 by Digest::SHA
           Product: Spamassassin
           Version: 3.3.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: Libraries
        AssignedTo: [email protected]
        ReportedBy: [email protected]


- perl module Digest::SHA covers and extends the functionality of Digest::SHA1,
  providing SHA hashing for some additional bit sizes (224, 256, 384, 512),
  besides the 160 bit SHA-1; its usage is compatible with Digest::SHA1;

- with perl 5.10.0 the module Digest::SHA became a perl base module, i.e.
  it comes installed with a perl itself (Digest::SHA1 is not a base module,
  and never was);

- the DKIM signature verification requires support of SHA-256 for a compliant
  implementation; module Mail::DKIM (as used by the DKIM plugin) needs
  to use Digest::SHA for this reason, so Digest::SHA is already 'in';

- the following SA modules currently use Digest::SHA1:
  BayesStore/BDB.pm, BayesStore/SQL.pm, BayesStore/DBM.pm,
  Plugin/Bayes.pm, Plugin/Hashcash.pm, (and Util/DependencyInfo.pm)

So, how about switching from Digest::SHA1 to Digest::SHA for a 3.3.0 ?
The required change is a trivial syntactical change.

-- 
Configure bugmail: 
https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to