Actually note that Shell.pm is deprecated for 5.13 and 5.14, so we can
[p5sagit/p5-mst-13.2.git] / cpan / Digest-SHA / Changes
CommitLineData
6bc89f92 1Revision history for Perl extension Digest::SHA.
2
4eb6bdb8 35.47 Wed Apr 30 04:00:54 MST 2008
4 - modified Makefile.PL to install in core for Perls >= 5.10
5 -- thanks to Jerry Hedden for patch
6 - changed from #include <> to #include "" in SHA.xs
7 -- some platforms not able to find SHA source files
8 -- thanks to Alexandr Ciornii for testing
9 - moved .pm file to appropriate lib directory
10 - minor addition to META.yml
11
0bc2b4f8 125.46 Wed Apr 9 05:04:00 MST 2008
13 - modified Addfile to recognize leading and trailing
14 whitespace in filenames (ref. rt.cpan.org #34690)
15 - minor C source code modification (ref. hmac.c)
16 - use const in sha.c for clean builds with -Wwrite-strings
17 -- thanks to Robin Barker for patch
18
747da336 195.45 Tue Jun 26 02:36:00 MST 2007
20 - extended portability to earlier Perls
21 -- works on Perl 5.003 and later
22 -- thanks to Jim Doble for testing on legacy platforms
23 - updated META.yml to conform to current META spec (1.3)
24 - minor documentation fixes
25
1bd6a86e 265.44 Sat Oct 14 00:42:44 MST 2006
27 - removed SIGNATURE file from distribution
28 -- spurious errors from CPANPLUS can break build
29 - eliminated ppport.h header file
30 -- significantly reduces size of distribution
31 - modified C functions in src/hmac.c to use ANSI prototypes
32 -- thanks to Jarkko Hietaniemi for patch
33
44e8b72c 345.43 Sat Aug 5 02:36:18 MST 2006
35 - undid Perl Best Practice of favoring 3-argument "open"
36 -- 3-arg version uses different semantics for "-"
37 causing bugs in addfile and shasum
38 - modified underlying C functions to use ANSI prototypes
39 -- requested by Steve Hay (ref. Smoke [5.9.4] 28630)
40 -- K&R style was causing numerous warnings from
41 Borland compiler
42
cccd5831 435.42 Mon Jul 24 04:04:40 MST 2006
44 - minor code changes suggested by Perl::Critic
45 -- e.g. no bareword filehandles, no 2-argument open's
46 - updated public key (ref. B538C51C)
47 -- previous one (0AF563FE) expired July 2, 2006
48 - added documentation to warn that Base64 digests are NOT padded
49 -- padding must be done by user if interoperability
50 with other software is required
51
84c0b84e 525.41 Sat Jun 3 01:50:46 MST 2006
53 - corrected addfile
54 -- process $file argument as a filehandle unless passed
55 as a SCALAR (which indicates a file name)
56
575.40 Fri Jun 2 04:00:30 MST 2006
58 - modified addfile to accept indirect filehandles
59 -- ref. rt.cpan.org #19627 and #19641
60
615.39 Sun May 28 03:22:24 MST 2006
62 - modified shasum to warn rather than die for file errors
63 -- to follow conventions of GNU sha1sum/md5sum
64
c7e5c266 655.38 Thu May 25 02:02:02 MST 2006
66 - added new capabilities to the "addfile" method
67 -- now able to accept file names as well as handles
68 -- includes mode for portable digest calculation
69 -- thanks to Adam Kennedy for emails and ideas
70 ref. File::LocalizeNewlines
71 - used expanded addfile interface to simplify shasum (sumfile)
72 -- regex a tad less general than 5.37, but handles all
73 known newline variants in UNIX/Windows/MacOS
74 - enhanced WARNING messages from shasum checkfile processing
75 -- to mimic behavior of md5sum
76
dcbcf62d 775.37 Mon May 8 04:30:09 MST 2006
78 - modified shasum to avoid file slurping (ref. sub sumfile)
79 - improved error handling of checksum files in shasum
80 -- to better mimic the behavior of md5sum
81 - refined line-break regex in shasum (ref. sub sumfile)
82 -- catches multiple CR's preceding LF
83 thanks to Gisle Aas for suggested patch
84 - changed loop vars to signed int's in shadump (ref. src/sha.c)
85 -- to prevent type mismatch warnings
86
128cbdba 875.36 Mon May 8 01:38:36 MST 2006
88 - fixed the "portable" option in shasum
89 -- normalize line-breaks in text files only
90
915.35 Thu May 4 16:54:42 MST 2006
92 - added "portable" option to shasum
93 -- to make digests match across Windows/Unix/MacOS
94 - enabled bundling of shasum command line options
95 -- to mimic behavior of md5sum
96 - removed \r's from text files in t/nist directory
97 -- resolves SIGNATURE clashes (rt.cpan.org #18983)
98 - changed suffix on SHA64_MAX (src/sha.h) to ULL
99 -- eliminates gcc warnings (rt.cpan.org #18988)
100 - specified minimum Perl version for module and Makefile.PL
101 -- closes rt.cpan.org #18984
102
77d2a621 1035.34 Thu Feb 2 18:55:40 MST 2006
104 - removed Unix-style pathnames in test scripts
105 -- causing problems on OpenVMS
106 -- thanks to Steve Peters for patch
107 - included latest version of Perl Portability header (ppport.h)
108 - added PERL_CORE check to test scripts
109 -- allows module to be built into Perl distribution
110
6bc89f92 1115.32 Fri Dec 2 02:32:20 MST 2005
112 - added POD section to shasum script
113 -- thanks to Gunnar Wolf for patch
114 - made minor code changes to silence compiler warnings
115 -- resulting from signed/unsigned integer mixing
116 - inserted code in test scripts for POD checking
117 -- to recover gracefully if Test::More isn't installed
118
1195.31 Mon Sep 5 00:52:42 MST 2005
120 - added standard tests for pod and pod-coverage checking
121 - inserted subtest to check for failure when using
122 unrecognized SHA algorithm
123
1245.30 Sat Aug 20 16:46:08 MST 2005
125 - updated docs with recent NIST statement on SHA-1
126 -- advises use of larger and stronger hash functions
127 (i.e. SHA-224/256/384/512) for new developments
128
1295.29 Sun Aug 14 04:48:34 MST 2005
130 - added explicit casts in "shaload" routine (ref. "ldvals")
131 -- thanks to E. Allen Smith for pointing out SGI compiler
132 warnings on IPxx-irix platforms
133 - updated docs with cautionary note about SHA-1
134
1355.28 Wed Nov 10 15:33:20 MST 2004
136 - provided more flexible formatting of SHA state files
137 -- entries may now contain embedded whitespace
138 for improved readability
139 - minor code cleanups
140
1415.27 Sun Oct 24 02:54:00 MST 2004
142 - minor code cleanups
143 -- reduces size of dump files for SHA-1/224/256
144
1455.26 Thu Oct 7 14:52:00 MST 2004
146 - streamlined distribution
147 -- reduced NIST vector tests from 200 to 20
148 -- former number was overkill
149 -- distro now downloads and builds more quickly
150 - rewrote SYNOPSIS sections in pod file
151 - made additional tweaks to t/8-shasum.t for portability
152 - cleaned up test scripts
153
1545.25 Sun Sep 12 18:48:00 MST 2004
155 - removed non-essential test script
156 -- t/8-shasum.t causes problems on sparc64-linux
157 - reverted to using eval "require $module" in shasum
158
1595.24 Sun Sep 12 02:50:18 MST 2004
160 - modified shasum to use barewords in "require" statements
161 -- ref. perl.cpan.testers (157305)
162
1635.23 Thu Sep 9 23:06:18 MST 2004
164 - corrected bug in test script
165 -- use blib when invoking perl as an external
166 command in t/8-shasum.t
167
1685.22 Tue Sep 7 19:12:40 MST 2004
169 - broadened SHA-384/512 support
170 -- to compilers with no ULLONG_MAX in limits.h
171 -- e.g IBM C (xlC 6.0.0) on AIX 4.3.3
172 -- thanks to Chris Carey for suggestions
173 and technical expertise
174 - improved use of static storage class in transforms
175 -- detection of Intel arch. now done in Makefile.PL
176 -- NB: static not used if compiling for thread safety
177 - minor changes to documentation
178
1795.21 Mon Aug 23 04:02:00 MST 2004
180 - removed 64-bit constant expressions from #if statements
181 -- ref. src/sha.h (lines 55, 58, and 61)
182 -- even if compiler supports long long's, preprocessor
183 may use long's when evaluating expressions
184 - improved test script for "shasum" (t/8-shasum.t)
185 -- exercises check file option (-c)
186
1875.20 Sun Aug 15 04:24:48 MST 2004
188 - introduced "shasum" script
189 -- mimics the usage and behavior of "md5sum"
190 -- adds "-a" option to select SHA algorithm
191 -- for help, just type "shasum -h"
192
1935.10 Fri Aug 6 02:04:38 MST 2004
194 - simplified module documentation
195 -- made it consistent with Digest::SHA::PurePerl docs
196
1975.03 Sat Jul 31 00:00:48 MST 2004
198 - corrected HMAC-SHA-384/512 bug (cpan #7181, Adam Woodbury)
199 -- code was using hardwired blocksize for SHA-1/256
200 -- ref. src/hmac.c, src/hmac.h
201
2025.02 Thu Jul 29 02:48:00 MST 2004
203 - updated documentation and "dump-load.t" test script
204 -- to be consistent with Digest::SHA::PurePerl
205 - included a SIGNATURE file
206 -- for stronger authentication of module contents
207 -- ref. Module::Signature on CPAN
208 - corrected embarrassing misspelling in docs
209 -- apologies to Gisle Aas
210
2115.01 Fri May 21 13:08:12 MST 2004
212 - check for undefined SHA handle when calling "shaclose()"
213 -- prevents intermittent cleanup errors during
214 global object destruction
215
2165.00 Fri May 14 04:45:00 MST 2004
217 - minor documentation fixes
218 - restored classical style of version numbering (X.YZ)
219 -- previous X.Y.Z style caused installation difficulties
220 when using CPANPLUS
221
2224.3.3 Wed May 5 00:30:40 MST 2004
223 - fixed bug in "strto64()" function
224 -- caused problems in state files with CR/LF pairs
225 -- thanks to Martin Thurn for testing support
226
2274.3.2 Wed Apr 28 03:56:00 MST 2004
228 - added Makefile.PL options
229 -- thread-safety: -t
230 -- exclude 384/512 support: -x
231 -- e.g. perl Makefile.PL -t
232 - temporarily suppress dump/load tests for SHA-384/512
233 -- pending clarification of problem on sun4u sparc
234
2354.3.1 Thu Mar 4 02:54:00 MST 2004
236 - removed unused functions from XS file
237 -- reduces size of compiled objects
238 - simplified implementation of Digest::SHA object
239 -- now a blessed SHAPtr ref instead of blessed array ref
240 -- results in slight speed-up of OO operations
241 - streamlined underlying C source
242 -- used macros to consolidate repetitive code
243 - rewrote test scripts to depend on Test rather than Test::More
244 -- allows module to be checked in minimal Perl environments
245 - added compilation option for thread-safety
246 -- overrides use of static arrays
247
2484.3.0 Sat Feb 7 02:58:00 MST 2004
249 - included SHA-384/512 support if using Microsoft C/C++
250 -- uses MSVC's __int64 in place of "long long"
251 - enhanced portability and efficiency on diverse platforms
252 -- automatically sets up optimal types for 32/64-bit ops
253 - improved test scripts for better reporting
254 -- many thanks to Alex Muntada for helpful suggestions
255
2564.2.2 Sat Jan 31 17:10:20 MST 2004
257 - repaired 32-bit SHA operations for 8-byte longs
258
2594.2.1 Sat Jan 24 00:56:54 MST 2004
260 - modified I/O and memory management in underlying C code
261 -- uses Perl libraries when compiled as CPAN module
262 -- otherwise defaults to ANSI C libraries
263 -- bypasses problems in MSWin multi-threaded Perls
264 -- avoids "Free to wrong pool" error
265 -- special thanks to Robert Gilmour and Brian Gladman
266 for technical guidance and testing
267
2684.2.0 Sat Dec 27 16:08:00 MST 2003
269 - added support for recently-announced SHA-224 algorithm
270 -- ref. FIPS 180-2 Change Notice 1
271 -- also includes HMAC-SHA-224
272
2734.1.0 Thu Dec 25 00:58:00 MST 2003
274 - repaired "nist-vectors" test scripts for MSWin32 portability
275 -- use binmode for data files
276
2774.0.9 Wed Dec 24 02:58:22 MST 2003
278 - use canonical file specs in test scripts
279 -- enhances portability across different OSes
280 - modify type declarations of objects in XS file
281 -- re-declare as (SV *) and cast to (AV *) SvRV(self)
282 -- in response to AVPtr problem on MSWin32
283
2844.0.8 Thu Dec 18 23:32:00 MST 2003
285 - inherits from Digest::base if installed
286 -- also checks for MIME::Base64
287 -- still fully-functional if neither are installed
288 - added buffer overflow protection in underlying C code
289 -- ref. shahex() and shabase64() routines
290 -- prior code appeared impossible to exploit, but ...
291 -- better safe than sorry
292 -- does not impact runtime efficiency
293 - minor code cleanup
294
2954.0.7 Sat Dec 13 00:48:24 MST 2003
296 - check for undefined SHA handle when calling "shaclose()"
297 -- was causing cleanup err during global destruction
298
2994.0.6 Thu Dec 11 02:18:00 MST 2003
300 - more optimization and streamlining
301 -- a bit faster on non-big-endians (e.g. Intel)
302 - rewrote time-critical functions and methods in XS
303 - removed unused C functions from source files
304
3054.0.5 Sat Dec 6 00:02:24 MST 2003
306 - performance optimizations
307 -- rewrote "add" method in XS
308 -- unrolled loops in sha256 transform
309
3104.0.4 Thu Dec 4 00:07:00 MST 2003
311 - made Digest::SHA into a self-contained module
312 -- no longer depends on Digest::base
313 -- more convenient for users
314 -- no need to install Digest:: module
315
3164.0.3 Wed Dec 3 00:01:20 MST 2003
317 - Digest::SHA now a subclass of Digest::base
318 -- inherits hexdigest/b64digest/addfile methods
319 - added "hashsize" method
320 - removed old "shaopen()/shawrite()/..." legacy code
321 -- in favor of standard, streamlined OO interface
322 - renamed test vector files from NIST
323 -- prevents problems on 8+3 filesystems
324 - added test for Dave Ireland's SHA-256 vector
325
3264.0.0 Sat Nov 29 21:14:09 MST 2003
327 - major streamlining of interface (hence, major version change)
328 -- coordinated with Gisle Aas and J. Duque
329 -- goal is to produce a single SHA module
330 -- adheres to OO and functional styles of Digest::
331 -- greatly reduces the number of interface functions
332 -- old functions still supported
333 -- use Digest::SHA ':legacy'
334 -- will be deprecated in near future
335 - rewrote all test scripts to match new interface
336 -- very easy to modify all 281 tests
337 -- old interface maps cleanly to new one
338
3393.0 Wed Nov 26 05:02:34 MST 2003
340 - added functions that conform to Digest:: interface
341 -- both functional and OO styles
342 -- byte-oriented data only
343 -- continue to support original interface as well
344 -- necessary for bit-oriented data
345 - supplied formal test vectors for HMAC-SHA-256
346 -- from draft-ietf-ipsec-ciph-sha-256-01.txt
347 - included tests for all OO methods
348
3492.4 Sat Nov 22 17:10:22 MST 2003
350 - code cleanup
351 -- "sha.c" now completely free of #ifdef's
352 - modularized all 64-bit (long long) code
353 - improved readability of header files
354 - simplified logic of "fixdump" utility
355
3562.3 Wed Nov 19 03:54:31 MST 2003
357 - minor optimizations and code cleanup
358 -- improved maintainability by reducing #ifdef's
359 -- sha1 transform code now easier to follow
360 - streamlined shadump/shaload file format
361 -- eliminated special "HQ" entry
362 -- state now held in "H" for all transforms
363 -- supplied "fixdump" utility to convert old format
364 - SHA-384/512 functions now return NULL for no 64-bit operations
365 -- previously they were undefined
366 -- no longer necessary to use eval's to test for presence
367
3682.2 Sun Nov 16 01:54:00 MST 2003
369 - optimized the performance of the SHA-1 transform
370 -- around 20-30% faster than previous version
371 -- achieved by loop unrolling and assignment consolidation
372 - enhanced shaload/shadump to allow interaction with stdin/stdout
373 -- "$filename" argument now optional
374
3752.1 Sun Nov 9 03:28:04 MST 2003
376 - simplified data input routines
377 -- length argument now optional for byte data
378 (special thanks to Jeffrey Friedl for this idea)
379 -- interface still compatible with earlier versions
380 -- changes will not affect existing client code
381 - streamlined underlying C code for easier maintenance
382 - provided additional tests for persistent data
383
3842.0 Sat Nov 1 03:55:36 MST 2003
385 - added functions for HMAC-SHA-1/256/384/512 (FIPS PUB 198)
386 - shadump/shaload files now compatible between 32/64-bit machines
387
3881.01 Sat Oct 25 02:44:55 MST 2003
389 - package now downloads and installs much faster
390 - reduced distribution size by 80%
391 -- pruned extensive NIST vectors to a useful subset
392 -- still possible to test all vectors if desired
393 --- see "t/nist/COPYRIGHT" file for details
394 - added routines to provide persistent storage of SHA states
395 -- shadump() and shaload()
396 - reduced runtime of large bitstring tests (gillogly-hard)
397 -- illustrates usefulness of shadump()/shaload()
398
3991.0 Sat Oct 18 17:35:07 MST 2003
400 - documentation fixes
401 - code cleanup: no more compiler warnings from gcc -Wall
402 - added code to allow reading of intermediate digest state
403 -- shahex() prior to shafinish() returns current state
404
4050.9 Thu Oct 9 20:43:54 MST 2003
406 - version updated to reflect portability check and passing
407 of all tests (1401)
408
4090.01 Wed Oct 8 22:28:05 2003
410 - original version; created by h2xs 1.22 with options
411 -x -A -n Digest::SHA sha.h