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