1Revision history for Perl module Digest::SHA::PurePerl. 2 35.96 Wed Jul 27 20:04:34 MST 2016 4 - prevented shasum from possibly running malicious code 5 -- remove '.' from @INC before module loading 6 -- ref. rt.cpan.org #116513 7 - namespace cleanup (ref. rt.cpan.org #105371 and #105372) 8 95.95 Sat Jan 10 12:15:36 MST 2015 10 - supplied a bit-ordering test (ref. t/bitorder.t) 11 -- to mimic Digest::SHA distribution 12 135.94 Sat Jan 10 00:45:28 MST 2015 14 - changes only to Digest::SHA for version 5.94 15 165.93 Sun Oct 26 06:00:48 MST 2014 17 - provided workaround in t/methods.t for unreliable -T test 18 -- Some Perl 5.8's mistake text for binary 19 205.92 Sun Jun 1 00:15:44 MST 2014 21 - changes only to Digest::SHA for version 5.92 22 235.91 Fri May 16 10:21:44 MST 2014 24 - re-established inheritance from Digest::base 25 -- to pick up future Digest enhancements automatically 26 - cleaned up documentation 27 285.90 Wed May 7 07:57:08 MST 2014 29 - enhanced Makefile.PL to allow 'use warnings' 30 -- automatically reverts to $^W for early Perls 31 - scrubbed Perl code to remove all compiler warnings 32 335.89 Sat Apr 19 05:14:48 MST 2014 34 - added universal newlines mode ("U") to addfile and shasum 35 -- based on Python Universal Newlines concept 36 -- newlines identical across MacOS, DOS, and UNIX 37 -- will deprecate portable mode ("p") in future 38 -- "U" mode is cleaner and more efficient 39 - eliminated experimental -M option in favor of new -R option 40 -- reverses the order of digest module preference 41 -- undocumented: for test and development use only 42 435.88 Mon Mar 17 08:46:10 MST 2014 44 - changed text file test (-T) to act on filehandles 45 -- ref. addfile portable mode 46 -- improves consistency when reading from STDIN 47 -- still must act on filenames for early Perls (< 5.6) 48 - added -M and -V options to shasum 49 -- undocumented: for development and testing use only 50 515.87 Mon Feb 17 16:42:02 MST 2014 52 - simplified capture of intermediate SHA states 53 -- can now be done via strings (ref. getstate/putstate) 54 555.86 Thu Jan 30 08:24:28 MST 2014 56 - changes only to Digest::SHA for version 5.86 57 585.85 Wed Jun 26 04:05:26 MST 2013 59 - corrected typos in shasum script 60 -- ref. Bug #85430 (posted at Digest::SHA) 61 625.84 Sat Mar 9 17:36:08 MST 2013 63 - changes only to Digest::SHA for version 5.84 64 655.83 Mon Mar 4 08:12:00 MST 2013 66 - trimmed "Wide character" error messages on Perl 5.8+ 67 -- too much unhelpful info from utf8::downgrade 68 -- error messages now identical on Perl 5.6+ 69 705.82 Thu Jan 24 04:54:12 MST 2013 71 - added code to emulate utf8::downgrade for Perl 5.6 72 -- module behavior now consistent under all Perls 5.6+ 73 -- ref: new test script t/unicode.t 74 -- SHA routines now always croak on wide chars (5.6+) 75 - provided documentation to describe Unicode handling 76 -- ref: Bug #82378 77 - updated documentation of NIST statement on SHA-1 78 795.81 Mon Jan 14 05:17:08 MST 2013 80 - harmonized with Digest::SHA (Bug #54490: unicode problems) 81 -- perform utf8::downgrade for Perl 5.8+ 82 -- croak on wide character inputs 83 -- thanks to Victor Efimov for suggestions 84 855.80 Mon Dec 10 14:15:26 MST 2012 86 - changes only to Digest::SHA for version 5.80 87 885.74 Sat Nov 24 03:10:18 MST 2012 89 - changes only to Digest::SHA for version 5.74 90 915.73 Wed Oct 31 04:32:44 MST 2012 92 - changes only to Digest::SHA for version 5.73 93 945.72 Mon Sep 24 15:22:08 MST 2012 95 - changes only to Digest::SHA for version 5.72 96 975.71 Wed Feb 29 04:06:10 MST 2012 98 - prevented $! from getting clobbered in _bail() routine 99 -- thanks to Zefram for patch 100 - added example of BITS mode usage to shasum documentation 101 1025.70 Wed Dec 14 02:32:10 MST 2011 103 - added BITS mode to addfile method and shasum 104 -- partial-byte inputs now possible via files/STDIN 105 -- allows shasum to check all 8074 NIST Msg vectors 106 -- previously required special programming 107 1085.63 Tue Nov 8 02:36:42 MST 2011 109 - added code to allow very large data inputs all at once 110 -- previously limited to several hundred MB at a time 111 -- many thanks to Thomas Drugeon for his elegant patch 112 - removed outdated reference URLs from several test scripts 113 -- these URLs aren't essential, and often go stale 114 -- thanks to Leon Brocard for spotting this 115 -- ref. rt.cpan.org #68740 116 1175.62 Sat May 14 04:00:34 MST 2011 118 - removed unnecessary loading of MIME::Base64 module 119 -- thanks to dolmen for pointing this out 120 1215.61 Wed Mar 9 05:26:36 MST 2011 122 - modified dump/load methods to match behavior of Digest::SHA 123 -- in the case of I/O to STDIN/STDOUT 124 - addressed minor documentation oversights 125 1265.60 Thu Mar 3 05:26:42 MST 2011 127 - added new SHA-512/224 and SHA-512/256 transforms 128 -- ref. NIST Draft FIPS 180-4 (February 2011) 129 - simplified shasum by removing duplicative text 130 - improved efficiency of Addfile 131 -- expensive -T test now occurs only in portable mode 132 1335.50 Tue Dec 14 06:20:08 MST 2010 134 - adopted convention that '-' always means STDIN 135 -- actual filename '-' accessed as './-' 136 -- accords with behavior of sha1sum/md5sum 137 - corrected undefined subroutine oversight in shasum 138 -- inadvertent migration of _bail() from PurePerl.pm 139 1405.49 Sun Dec 12 07:22:04 MST 2010 141 - modified Addfile to accept all POSIX filenames 142 -- standard allows all characters except NUL and '/' 143 - updated shasum to more closely mimic sha1sum/md5sum 144 -- added "backslash processing" to handle newlines 145 and backslashes in filenames 146 -- now accepts all POSIX filenames via Addfile 147 -- thanks to Sean Burke for identifying edge cases 148 1495.48 Mon Jan 4 16:32:52 MST 2010 150 - fixed "shasum -a0" option (ref. rt.cpan.org #53319) 151 -- incorrectly accepted 0 as a valid algorithm 152 -- thanks to Zefram for patch 153 - updated URL for NIST test vectors 154 -- ref. files t/nistbit.t, t/nistbyte.t 155 -- thanks to Leon Brocard for patch 156 1575.47 Wed Apr 30 04:00:54 MST 2008 158 - moved .pm file to appropriate lib directory 159 - minor addition to META.yml 160 1615.46 Wed Apr 9 05:04:00 MST 2008 162 - modified _Addfile to recognize leading and trailing 163 whitespace in filenames (ref. rt.cpan.org #34690) 164 - previous version commandeered the warnings flag ($^W) 165 -- this version disables warnings only when 166 compiling 64-bit constants 167 1685.45 Tue Jun 26 02:36:00 MST 2007 169 - extended portability to earlier Perls 170 -- works on Perl 5.003 and later 171 -- thanks to Jim Doble for testing on legacy platforms 172 - updated META.yml to conform to current META spec (1.3) 173 - minor documentation fixes 174 1755.44 Sat Oct 14 00:42:44 MST 2006 176 - removed SIGNATURE file from distribution 177 -- spurious errors from CPANPLUS can break build 178 1795.43 Sat Aug 5 02:36:18 MST 2006 180 - undid Perl Best Practice of favoring 3-argument "open" 181 -- 3-arg version uses different semantics for "-" 182 causing bugs in addfile/shadump/shaload/shasum 183 1845.42 Mon Jul 24 04:04:40 MST 2006 185 - minor code changes suggested by Perl::Critic 186 -- e.g. no bareword filehandles, no 2-argument open's 187 - updated public key (ref. B538C51C) 188 -- previous one (0AF563FE) expired July 2, 2006 189 - added documentation to warn that Base64 digests are NOT padded 190 -- padding must be done by user if interoperability 191 with other software is required 192 1935.41 Sat Jun 3 01:50:46 MST 2006 194 - corrected addfile 195 -- process $file argument as a filehandle unless passed 196 as a SCALAR (which indicates a file name) 197 1985.40 Fri Jun 2 04:00:30 MST 2006 199 - modified addfile to accept indirect filehandles 200 -- ref. rt.cpan.org #19627 and #19641 201 2025.39 Sun May 28 03:22:24 MST 2006 203 - modified shasum to warn rather than die for file errors 204 -- to follow conventions of GNU sha1sum/md5sum 205 2065.38 Thu May 25 02:02:02 MST 2006 207 - added new capabilities to the "addfile" method 208 -- now able to accept file names as well as handles 209 -- includes mode for portable digest calculation 210 -- thanks to Adam Kennedy for emails and ideas 211 ref. File::LocalizeNewlines 212 - used expanded addfile interface to simplify shasum (sumfile) 213 -- regex a tad less general than 5.37, but handles all 214 known newline variants in UNIX/Windows/MacOS 215 - enhanced WARNING messages from shasum checkfile processing 216 -- to mimic behavior of md5sum 217 2185.37 Mon May 8 04:30:09 MST 2006 219 - modified shasum to avoid file slurping (ref. sub sumfile) 220 - improved error handling of checksum files in shasum 221 -- to better mimic the behavior of md5sum 222 - refined line-break regex in shasum (ref. sub sumfile) 223 -- catches multiple CR's preceding LF 224 thanks to Gisle Aas for suggested patch 225 2265.36 Mon May 8 01:38:36 MST 2006 227 - fixed the "portable" option in shasum 228 -- normalize line-breaks in text files only 229 2305.35 Thu May 4 16:54:42 MST 2006 231 - added "portable" option to shasum 232 -- to make digests match across Windows/Unix/MacOS 233 - enabled bundling of shasum command line options 234 -- to mimic behavior of md5sum 235 - removed \r's from text files in t/nist directory 236 -- resolves SIGNATURE clashes (rt.cpan.org #18983) 237 - specified minimum Perl version for module and Makefile.PL 238 -- closes rt.cpan.org #18984 239 2405.34 Thu Feb 2 18:55:40 MST 2006 241 - removed Unix-style pathnames in test scripts 242 -- causing problems on OpenVMS 243 -- thanks to Steve Peters for patch 244 - added PERL_CORE check to test scripts 245 -- allows module to be built into Perl distribution 246 2475.32 Fri Dec 2 02:32:20 MST 2005 248 - added POD section to shasum script 249 -- thanks to Gunnar Wolf for patch 250 - inserted code in test scripts for POD checking 251 -- to recover gracefully if Test::More isn't installed 252 2535.31 Mon Sep 5 00:52:42 MST 2005 254 - added standard tests for pod and pod-coverage checking 255 - inserted subtest to check for failure when using 256 unrecognized SHA algorithm 257 - consolidated code for SHA and HMAC-SHA functions 258 -- removed 190 lines by building functions at runtime 259 - harmonized _sharewind and _shaopen subs with C versions 260 -- other minor code cleanups 261 2625.30 Sat Aug 20 16:46:08 MST 2005 263 - updated docs with recent NIST statement on SHA-1 264 -- advises use of larger and stronger hash functions 265 (i.e. SHA-224/256/384/512) for new developments 266 2675.29 Sun Aug 14 04:48:34 MST 2005 268 - updated docs with cautionary note about SHA-1 269 2705.28 Wed Nov 10 15:33:20 MST 2004 271 - provided more flexible formatting of SHA state files 272 -- entries may now contain embedded whitespace 273 for improved readability 274 - minor code cleanups 275 2765.27 Sun Oct 24 02:54:00 MST 2004 277 - minor code cleanups 278 -- reduces size of dump files for SHA-1/224/256 279 2805.26 Thu Oct 7 14:52:00 MST 2004 281 - streamlined distribution 282 -- reduced NIST vector tests from 200 to 20 283 -- former number was overkill 284 -- distro now downloads and builds more quickly 285 - rewrote SYNOPSIS sections in pod file 286 - made additional tweaks to t/8-shasum.t for portability 287 - cleaned up test scripts 288 2895.25 Sun Sep 12 18:48:00 MST 2004 290 - removed non-essential test script 291 -- t/8-shasum.t causes problems on sparc64-linux 292 - reverted to using eval "require $module" in shasum 293 2945.24 Sun Sep 12 02:50:18 MST 2004 295 - modified shasum to use barewords in "require" statements 296 -- ref. perl.cpan.testers (157305) 297 2985.23 Thu Sep 9 23:06:18 MST 2004 299 - corrected bug in test script 300 -- use blib when invoking perl as an external 301 command in t/8-shasum.t 302 3035.22 Tue Sep 7 19:12:40 MST 2004 304 - minor changes to documentation 305 3065.21 Mon Aug 23 04:02:00 MST 2004 307 - improved test script for "shasum" (t/8-shasum.t) 308 -- exercises check file option (-c) 309 3105.20 Sun Aug 15 04:24:48 MST 2004 311 - introduced "shasum" script 312 -- mimics the usage and behavior of "md5sum" 313 -- adds "-a" option to select SHA algorithm 314 -- for help, just type "shasum -h" 315 3165.10 Fri Aug 6 02:10:12 MST 2004 317 - simplified module documentation 318 -- made it consistent with Digest::SHA docs 319 3200.06 Tue Aug 3 02:12:40 MST 2004 321 - improved performance of SHA-384/512 322 -- using inline eval'ed code instead of subroutines 323 -- 5.7 x faster than Version 0.05 324 -- on alpha-dec_osf, using Gisle's benchmark 325 3260.05 Sun Aug 1 03:56:54 MST 2004 327 - fixed HMAC-SHA-384/512 bug 328 -- code was using hardwired blocksize of SHA-1/256 329 - added test cases to check HMAC-SHA-384/512 behavior 330 -- thanks to Adam Woodbury for vectors and script mods 331 - corrected misspelling in docs 332 -- apologies to Gisle Aas 333 3340.04 Fri Jul 2 01:10:48 MST 2004 335 - added support for SHA-384/512 336 -- module now offers full functionality of Digest::SHA 337 -- however, use of SHA-384/512 requires 64-bit integers 338 - included a SIGNATURE file 339 -- for stronger authentication of module contents 340 -- ref. Module::Signature on CPAN 341 3420.03 Fri Jun 25 00:06:54 MST 2004 343 - portability fix 344 -- dump files caused warnings on 64-bit platforms 345 -- enhanced "dump-load.t" to check correct behavior 346 - performance tweak for 64-bit machines 347 -- eliminated upper-32-bit masking on left shifts 348 -- instead, need to mask only in _digcpy and _shadump 349 3500.02 Tue Jun 22 04:24:00 MST 2004 351 - Increased speed of SHA transforms 352 -- using optimization ideas from Digest::SHA package 353 -- SHA-1 ~ 20% faster 354 -- SHA-224/256 ~ 120% faster 355 3560.01 Thu Jun 17 00:04:00 MST 2004 357 - Initial version, derived from Digest::SHA 5.01 358 -- hand-translation from C to Perl 359