| 1 |
hashcash-1.22 - 08-Apr-2006 - Adam Back <[email protected]> |
| 2 |
|
| 3 |
* fix progress display bug reported by Phil Marek. (When the |
| 4 |
progress reached 2^30 tests, it would reset the best seen). |
| 5 |
This involved multiple related bug fixes, complex thing to |
| 6 |
debug! |
| 7 |
|
| 8 |
* make percentage progress show more precision the larger the |
| 9 |
stamp, so progress is less boring. |
| 10 |
|
| 11 |
* remove some cruft from test.sh so it works again |
| 12 |
|
| 13 |
* change docs and code output to talk about partial hash |
| 14 |
preimages instead of partial collisions, as this is a more |
| 15 |
accurate description these days. |
| 16 |
|
| 17 |
hashcash-1.21 - 24-Mar-2006 - Adam Back <[email protected]> |
| 18 |
|
| 19 |
* fix potential heap overflow bug reported by |
| 20 |
Andreas Seltenreich <[email protected]> |
| 21 |
|
| 22 |
hashcash-1.20 - 20-Dec-2005 - Adam Back <[email protected]> |
| 23 |
|
| 24 |
* fix bug that -w reports using version 0 semantics even with |
| 25 |
version 1 stamps (was ignoring the version field and so |
| 26 |
defaulting to version 0 semantics). |
| 27 |
|
| 28 |
* rest are fedora core4 related fixes |
| 29 |
|
| 30 |
* remove dependency on openssl libcrypto.so.4 -- I compile rpm |
| 31 |
on rh9 for forwards compatibility, but then on fc4 they have only |
| 32 |
libcrypto.so.5, so the rpm fails to install with missing |
| 33 |
dependency. Dependencies are ugly so I built with static link to |
| 34 |
libcrypto.a instead of dynamic to libcrypto.so. |
| 35 |
|
| 36 |
* -mcpu is deprecated apparently so I am supposed to use the |
| 37 |
equivalent -mtune, but that doesn't work on rh9 era gcc |
| 38 |
compilers so used -march=pentium-mmx instead; I think the |
| 39 |
result should still work on 486 via Jonathan's exception |
| 40 |
catcher trapping absense of mmx cpu. |
| 41 |
|
| 42 |
* the (mode) syntax for mmx registers is deprecated, apparently |
| 43 |
we're supposed to use (vector_size) |
| 44 |
|
| 45 |
* with fc4 the strncpy builtin is more fussy about char/unsigned |
| 46 |
char matching. |
| 47 |
|
| 48 |
* with fc4 rpmbuild options getting warnings about ignoring fgets |
| 49 |
return code |
| 50 |
|
| 51 |
hashcash-1.19 - 17-Dec-2005 - Adam Back <[email protected]> |
| 52 |
|
| 53 |
* update to documentation for hashcash_free in hashcash.h at |
| 54 |
Simon Bohlin's suggestion |
| 55 |
|
| 56 |
* fix for -mb0 reported by bas |
| 57 |
|
| 58 |
hashcash-1.18 - 05-Jul-2005 - Adam Back <[email protected]> |
| 59 |
|
| 60 |
* add a simpler minting API to make it easier to mint stamps |
| 61 |
from VB scripting |
| 62 |
|
| 63 |
hashcash-1.17 - 30-Mar-2005 - Adam Back <[email protected]> |
| 64 |
|
| 65 |
* fix for bug Steve Crook reported with purging and checking |
| 66 |
at same time. |
| 67 |
|
| 68 |
* fix for bug Steve Crook reported in double spend checking. |
| 69 |
(Was bug in new hashcash_db_in higher level db function). |
| 70 |
|
| 71 |
* apply patch from Jonathan Morton which fixes bug triggered |
| 72 |
when minting large stamps (over 31-bits). |
| 73 |
|
| 74 |
* fix printf vulnerability reported by Tavis Ormandy |
| 75 |
<[email protected]> |
| 76 |
|
| 77 |
hashcash-1.16 - 15-Jan-2005 - Adam Back <[email protected]> |
| 78 |
|
| 79 |
* fixed bug with -Z2 (and removed workaround mentioned in 1.15 |
| 80 |
changelog entry) |
| 81 |
|
| 82 |
hashcash-1.15 - 12-Jan-2005 - Adam Back <[email protected]> |
| 83 |
|
| 84 |
* make "Hashcash:" be accepted as well as "X-Hashcash:" |
| 85 |
suggestion by Simon Josefsson <[email protected]>. This way |
| 86 |
if/when the X- is dropped from hashcash headers we will not |
| 87 |
have a backwards compatibility problem. (Well not after |
| 88 |
version 1.15). |
| 89 |
|
| 90 |
* implement the -Z option to compress stamps; in fact the |
| 91 |
usage changed so -Z takes an argument: 0, 1 or 2. 0 = not |
| 92 |
compressed, 1 = compressed but not so the counter + padding |
| 93 |
is split, and 2 = very compressed, but slow. (Due to a late |
| 94 |
discovered bug 2 is the same as 1 for now until I can fix |
| 95 |
that.) |
| 96 |
|
| 97 |
* added -O x -sv to request benchtest of core x only |
| 98 |
|
| 99 |
* make code work with -DOPENSSL, think this slipped during |
| 100 |
integration of Jonathan's libfastmint as it uses some lower |
| 101 |
level openssl APIs internally. I fixed it but it might be |
| 102 |
a bit openssl version specific, if they changed the state |
| 103 |
fields at any point. (This change coincidentally I think |
| 104 |
should work around the linking with openssl problem that Hal |
| 105 |
Finney <[email protected]> reported). |
| 106 |
|
| 107 |
* add libhashcash.a intermediate target to make hashcash more |
| 108 |
convenient to link into other software on linux. (A |
| 109 |
suggestion from Hal Finney who was trying to link to his |
| 110 |
RPOW system.) |
| 111 |
|
| 112 |
hashcash-1.14 - 14-Dec-2004 - Adam Back <[email protected]> |
| 113 |
|
| 114 |
* make hashcash -cX accept continuation lines starting with |
| 115 |
space as well as tab |
| 116 |
|
| 117 |
* add library function to wrap lines and use it from hashcash |
| 118 |
command line tool. |
| 119 |
|
| 120 |
* fix long vs time_t prototype mismatch that was giving |
| 121 |
compile errors on BSD; also cleaned up some warnings that |
| 122 |
can be obtained with gcc -Wall. |
| 123 |
|
| 124 |
hashcash-1.13 - 16-Oct-2004 - Adam Back <[email protected]> |
| 125 |
|
| 126 |
* fix bug where grace period not applied to double-spend db. |
| 127 |
I think this could allow people to double-spend in the time |
| 128 |
period after the resulting premature purging and before |
| 129 |
expiry (which is the grace period) |
| 130 |
|
| 131 |
* add new feature where -e <period> can be used with -p to |
| 132 |
override the expiry given at spend time (that is stored in |
| 133 |
the double-spend db). Inspired by question from Atom |
| 134 |
Smasher <[email protected]>. |
| 135 |
|
| 136 |
* clean up some memory leaks |
| 137 |
|
| 138 |
* add hashcash_free function (DLL scenario caller can't rely |
| 139 |
on having same deallocator to call as library compiled with) |
| 140 |
|
| 141 |
* lots more function documentation in hashcash.h for |
| 142 |
library/DLL users, renamed all exported library functions to |
| 143 |
start with hashcash_ prefix. |
| 144 |
|
| 145 |
* added hashcash_version function. |
| 146 |
|
| 147 |
* added callback function to allow user quit (returns |
| 148 |
HASHCASH_USER_ABORT) and to give progress feedback. |
| 149 |
|
| 150 |
* added option -P which uses the callback to show progress. |
| 151 |
|
| 152 |
* added -O core option to allow user selection of core. |
| 153 |
|
| 154 |
* added small parameter to hashcash (to request small stamps |
| 155 |
rather than slightly larger fast to generate stamps), and -Z |
| 156 |
option to turn this on. (In fact it is not implemented yet |
| 157 |
but want to avoid changing library interface later). |
| 158 |
|
| 159 |
hashcash-1.12 - 03-Oct-2004 - Adam Back <[email protected]> |
| 160 |
|
| 161 |
* make a HASHCASH.DLL on windows using MINGW. |
| 162 |
|
| 163 |
hashcash-1.11 - 02-Oct-2004 - Adam Back <[email protected]> |
| 164 |
|
| 165 |
* _really_ fix trailing ascii(32) (spaces). I have no idea |
| 166 |
how I decided the 1.10 code fixed it. Must have messed up |
| 167 |
the test I was using to check it worked. |
| 168 |
|
| 169 |
hashcash-1.10 - 01-Oct-2004 - Adam Back <[email protected]> |
| 170 |
|
| 171 |
* remove trailing ascii(32) (spaces) which padding somehow |
| 172 |
leaves |
| 173 |
|
| 174 |
hashcash-1.09 - 17-Sep-2004 - Adam Back <[email protected]> |
| 175 |
|
| 176 |
* fix missing space between resource name and width with -cv |
| 177 |
reported by Panta Admin. |
| 178 |
|
| 179 |
* apply cumulative patch of 3 patches from Jonathan Morton. |
| 180 |
|
| 181 |
hashcash-1.08 - 12-Sep-2004 - Adam Back <[email protected]> |
| 182 |
|
| 183 |
* fix bug reported by Panta Admin <[email protected]> |
| 184 |
must have introduced in recent version where with pipe |
| 185 |
prints stamp twice. |
| 186 |
|
| 187 |
* attempt to work around MINGW problem with signals -- somehow |
| 188 |
it is changing it's mind about whether the MMX core can run |
| 189 |
from the first call to the 2nd call. But the test result |
| 190 |
is cached so it is hard to see how this happens. Not clear |
| 191 |
if this work-around will work as don't have a 486 to test |
| 192 |
on. (Work around is make single gIsMMXpresent shared |
| 193 |
between the two mmx cores, should at least result in signal |
| 194 |
call being used fewer times (max 1 time). Also pass 1 to |
| 195 |
longjmp.) |
| 196 |
|
| 197 |
* give up entirely on conditional make. One Makefile, no |
| 198 |
funky stuff. Prints info about what you need to do to |
| 199 |
compile on your platform and goes ahead and compiles with |
| 200 |
generic anyway. Make new gnu (generic) target for gcc, and |
| 201 |
normal generic with no gcc specific flags. |
| 202 |
|
| 203 |
hashcash-1.07 - 11-Sep-2004 - Adam Back <[email protected]> |
| 204 |
|
| 205 |
* patch from J H Wilson <[email protected]> to initialize a bunch |
| 206 |
of variables (actually I had to back some of these out to |
| 207 |
get to compile on non gnu compilers -- some of those |
| 208 |
structure initializations are gnu extensions I think.) |
| 209 |
|
| 210 |
* also J H Wilson one of patch changes was to avoid mmx |
| 211 |
assembler code clobbering ebx register which is needed for |
| 212 |
fPIC support. |
| 213 |
|
| 214 |
* better randomness on windows using the CAPI rng |
| 215 |
CryptGenRandom. Still compiles using MINGW ... whee! |
| 216 |
|
| 217 |
* made a separate GNUmakefile for gnu make (it takes that one |
| 218 |
first over Makefile) and a Makefile which is the same but no |
| 219 |
ifdef stuff which confuses some other makes, and no gnu |
| 220 |
specific compile options (for x86 anyway). |
| 221 |
|
| 222 |
* add gettimeofday timer into entropy to improve randomness on |
| 223 |
systems which do not have /dev/urandom, and are not windows |
| 224 |
|
| 225 |
hashcash-1.06 - 10-Sep-2004 - Adam Back <[email protected]> |
| 226 |
|
| 227 |
* patch from Justin Guyett <[email protected]> to fix unsigned |
| 228 |
error which would have made libfastmint do something odd if |
| 229 |
no minter worked. |
| 230 |
|
| 231 |
* Makefile changes to compile under MINGW (gnu for windows |
| 232 |
portability layer which produces win32 exes). new target |
| 233 |
mingw-exe |
| 234 |
|
| 235 |
* #ifdefs to avoid locking on MINGW (seems no lock support!) |
| 236 |
|
| 237 |
* #ifdefs to use longjmp instead of siglongjmp, signal instead |
| 238 |
of sigaction on MINGW |
| 239 |
|
| 240 |
* #ifdef to use chsize instead of ftruncate on MINGW |
| 241 |
|
| 242 |
hashcash-1.05 - 08-Sep-2004 - Adam Back <[email protected]> |
| 243 |
|
| 244 |
* and another issue (last I promise!) with case comparison. |
| 245 |
1.04 change was good; however flaw in 1.02 means 1.04 minted |
| 246 |
stamps (resource not canonicalized to lowercase) can falsely |
| 247 |
fail to verify with 1.02 - 1.00 as those versions presume |
| 248 |
canonicalized stamp. So we go back to making -C have effect |
| 249 |
on minting also. With no -C canonicalize to lowercase, with |
| 250 |
-C use resource as-is. |
| 251 |
|
| 252 |
* get rid of -W flag reserved for posix, use -M in it's place. |
| 253 |
|
| 254 |
hashcash-1.04 - 07-Sep-2004 - Adam Back <[email protected]> |
| 255 |
|
| 256 |
* fixed issue with case comparisons -- presumed resources were |
| 257 |
in lower case at minting -- better to just ignore case |
| 258 |
during comparison. Then will accept stamps containing upper |
| 259 |
case or mixed-case resource names. |
| 260 |
|
| 261 |
* integrate fastmint_benchtest as -sv option to hashcash. |
| 262 |
|
| 263 |
* introduce COPT as well as CFLAGS as optimization subset of |
| 264 |
flags passed with CFLAGS to nested make -- suits RPM |
| 265 |
|
| 266 |
hashcash-1.03 - 07-Sep-2004 - Adam Back <[email protected]> |
| 267 |
|
| 268 |
* remove TARGET_ARCH again, let's keep things simple. Just |
| 269 |
use CFLAGS period. |
| 270 |
|
| 271 |
* figured out what GENTOO ebuild is doing, changed ebuild file |
| 272 |
|
| 273 |
* remove recursion from hashcash_fastmint |
| 274 |
|
| 275 |
* start using TARGET_ARCH in Makefile, hope it's portable; |
| 276 |
it's an attempt to be more GENTOO ebuild friendly |
| 277 |
|
| 278 |
* Makefile change: when PACKAGE is defined build default |
| 279 |
target, otherwise echo the target info as before |
| 280 |
|
| 281 |
* removed a bunch of old code replaced by fastmint, got rid of |
| 282 |
CHROMATIX define |
| 283 |
|
| 284 |
* fix following errors reported by Atom Smasher <[email protected]> |
| 285 |
|
| 286 |
* fix width measuring bug with v0 stamps |
| 287 |
|
| 288 |
* fix resource read from stdin bug |
| 289 |
|
| 290 |
* use GNU getopt source always -- getopt |
| 291 |
on BSD behaves differently (the getopt source is |
| 292 |
smart -- it comments itself out on machines with |
| 293 |
GNU_LIBRARY so using it always is not a problem) |
| 294 |
|
| 295 |
* bug: should send the time estimate to |
| 296 |
stderr, and the stamp to stdout |
| 297 |
|
| 298 |
* -z width flag not properly error checked |
| 299 |
to enforce UTCTIME restrictions (only valid widths |
| 300 |
6, 10 or 12 digits) |
| 301 |
|
| 302 |
* update LICENSE to note you end up with some GNU GPL taint |
| 303 |
from getopt on systems without POSIX getopt which probably |
| 304 |
forces you to use GPL as I link against it. Unless someone |
| 305 |
wants to re-write the getopt or can point me at a public |
| 306 |
domain replacement. In particular this includes BSD and |
| 307 |
MACH (OSX) and as before windows. |
| 308 |
|
| 309 |
* apply patch from Jonathan Morton <[email protected]> |
| 310 |
with following fixes: |
| 311 |
|
| 312 |
* fix bug in mmx assembler code exposed by integration |
| 313 |
|
| 314 |
* add generic target in Makefile |
| 315 |
|
| 316 |
* increase benchmark work factor to improve accuracy of |
| 317 |
results (as not used at run-time) |
| 318 |
|
| 319 |
* new hashcash_quickbench() |
| 320 |
|
| 321 |
* changes to hashcash_quickbench() to give faster timing on |
| 322 |
linux x86 which has low resolution clock() (1/100th sec vs |
| 323 |
1usec on OSX). (It was taking ~ 0.6sec on linux x86, code |
| 324 |
takes 0.1 sec now which is less noticeable) |
| 325 |
|
| 326 |
* related to above studiously avoided calling hc_per_sec() |
| 327 |
which invokes hashcash_quickbench() -- seems a shame to burn |
| 328 |
1/10th sec in default mint creation path if user typically |
| 329 |
doesn't care about the info about how long it took. Now you |
| 330 |
have to give -s or -v to get speed info when minting. |
| 331 |
|
| 332 |
* fix case sensitivity bug reported by Atom Smasher |
| 333 |
<[email protected]> |
| 334 |
|
| 335 |
* add CPL option back to LICENSE file |
| 336 |
* add make targets for different processors |
| 337 |
* remove 2nd call of hashcash_benchtest (supposed to call |
| 338 |
hc_per_second which caches not hashcash_per_second) |
| 339 |
* enable static selection of fastmint cores, disable run |
| 340 |
time benchtest |
| 341 |
|
| 342 |
* applied fastmint fix patch from Jonathan Morton |
| 343 |
<[email protected]> and re-enabled fastmint |
| 344 |
(remove -DCHROMATIX in Makefile to disable) |
| 345 |
|
| 346 |
hashcash-1.02 - 11-Aug-2004 - Adam Back <[email protected]> |
| 347 |
|
| 348 |
* minor documentation stuff (put back ref to sha1-hashcash in |
| 349 |
hashcash.pod manpage) |
| 350 |
|
| 351 |
* add back requests to LICENSE file |
| 352 |
|
| 353 |
hashcash-1.01 - 08-Aug-2004 - Adam Back <[email protected]> |
| 354 |
|
| 355 |
* fold in patches from by Hubert Chan |
| 356 |
<[email protected]> and Justin Guyett <[email protected]> to |
| 357 |
clean up some stuff and fix minor bugs. |
| 358 |
|
| 359 |
* another couple of minor bug fixes. |
| 360 |
|
| 361 |
hashcash-1.00 - 07-Aug-2004 - Adam Back <[email protected]> |
| 362 |
|
| 363 |
* increment version number, 1.x to reflect move to version 1 |
| 364 |
stamp format |
| 365 |
|
| 366 |
* explicit bits field in token (helps people who want to |
| 367 |
prevalidate header and parse, and who want to know what the |
| 368 |
intended bits were vs how lucky the sender got); new stamp |
| 369 |
size definition is min( counted_bits, explicit bits field ) |
| 370 |
|
| 371 |
* no : in resource field to make easier to parse eg with cut, |
| 372 |
awk etc |
| 373 |
|
| 374 |
* new extension field |
| 375 |
|
| 376 |
* reclaimed -x to use for passing eXtension data (old -x no longer |
| 377 |
available, use -X, which has string fixed to X-Hashcash) |
| 378 |
|
| 379 |
* put /dev/urandom macro for MAC from |
| 380 |
Jonathan Morton <[email protected]> so we use |
| 381 |
/dev/urandom on MAC |
| 382 |
|
| 383 |
* copy in and adjust Makefile for Jonathan Morton's optimized |
| 384 |
minter (need to integrate) |
| 385 |
|
| 386 |
* copy in Jonathan Morton's COMPACT option (method B vs method A |
| 387 |
from fips-180-1, uses less registers) for libsha1.c |
| 388 |
|
| 389 |
* copy in next rev of minter breaks 4megahashes/sec barrier on |
| 390 |
3.06Ghz P4 -- disabled at present until some stuff gets |
| 391 |
fixed and we figure out rpm/deb package portability |
| 392 |
|
| 393 |
* added back v0 read support (but still only generates v1) |
| 394 |
|
| 395 |
* pr5: first attempt at integrating libfastmint (some bug in |
| 396 |
my integration code, broken so far) |
| 397 |
|
| 398 |
* (pr6: libfastmint integ still not working) |
| 399 |
|
| 400 |
* pr6: made X-Hashcash header accepatance case insensitive |
| 401 |
|
| 402 |
* pr7: also reject tokens with count_bits < claimed_bits |
| 403 |
(as previous logic of setting bits = min( count_bits, claimed_bits) |
| 404 |
necessary to avoid people getting lucky |
| 405 |
|
| 406 |
* use clock() instead of wall time |
| 407 |
|
| 408 |
* expand max stamp size out to cope with 10KB extension fields |
| 409 |
|
| 410 |
* update man page and usage with v1 stuff |
| 411 |
|
| 412 |
* and release as 1.00 ready for Hubert Chan <[email protected]> |
| 413 |
to package for the imminent debian release |
| 414 |
|
| 415 |
hashcash-0.33 - 13-Apr-2004 - Adam Back <[email protected]> |
| 416 |
|
| 417 |
* allow wild card without @ sign if there is no @ sign in |
| 418 |
pattern |
| 419 |
|
| 420 |
hashcash-0.32 - 09-Apr-2004 - Adam Back <[email protected]> |
| 421 |
|
| 422 |
* documentation fixes |
| 423 |
|
| 424 |
* change multiple regexp behavior; previous algorithm only allowed |
| 425 |
higher overrides; need to support both higher and lower |
| 426 |
overrides. This also required introducing -o option to join |
| 427 |
regexps which are set intersections where otherwise risk of |
| 428 |
uninteded override occuring and mail being rejected as spent or |
| 429 |
insufficent bits. Now revert to lexical order most specific |
| 430 |
regexp first. |
| 431 |
|
| 432 |
* wrote test script test.sh |
| 433 |
|
| 434 |
* fix a few minor bugs uncovered by above test script |
| 435 |
|
| 436 |
* -c now means check date |
| 437 |
|
| 438 |
* allow -n etc with -X |
| 439 |
|
| 440 |
* introduced -b relative to default way of specifying bits |
| 441 |
|
| 442 |
* -b is no optional, if want token fully checked, but can give -b |
| 443 |
default; or new relative to default -b +0. |
| 444 |
|
| 445 |
|
| 446 |
hashcash-0.31 - 01-Apr-2004 - Adam Back <[email protected]> |
| 447 |
|
| 448 |
* final 0.x version (v0 format) release before 1.x version (v1 |
| 449 |
format) (bug fixes / maintenance only afterwards on 0.x version) |
| 450 |
|
| 451 |
* remove -O3 from Makefile, use -O instead as fails on HPUX or |
| 452 |
sun. |
| 453 |
|
| 454 |
* fix some out of date usage stuff in hashcash man page. |
| 455 |
|
| 456 |
* disable timing loop unless timing needed |
| 457 |
|
| 458 |
* fix multiple reciept bug in -cX/-cx reported by Junior Ang |
| 459 |
<[email protected]>. If you receive a mail multiple times |
| 460 |
because you are on the receipt list multiple times, there will |
| 461 |
be multiple hashcash headers for you. In this case it is |
| 462 |
necessary to examine the first matching, non-spent stamp. The |
| 463 |
bug was previous versions stopped on the first matching stamp |
| 464 |
and then failed because it was spent. Need to keep going and |
| 465 |
check later also matching stamps until find one which is not |
| 466 |
spent. |
| 467 |
|
| 468 |
* rationalize command line args further. No implied -m , more |
| 469 |
things that are awkward to implement but not that useful are |
| 470 |
disallowed. |
| 471 |
|
| 472 |
* change purge operation to use read-write operations in the same |
| 473 |
sdb file rather than creating a temporary file. This makes |
| 474 |
locking easier and is also aesthetically nicer. |
| 475 |
|
| 476 |
* add flock(2) database file write locking, and change creation |
| 477 |
logic to use open(2) to avoid creation db race-condition also. |
| 478 |
|
| 479 |
* make resource string case insensitive by default to match email |
| 480 |
semantics; add -C option to force case sensitivity if desired |
| 481 |
(email addresses are converted to and stored in lower case, so |
| 482 |
you have to both mint and verify with case sensitivity turned on |
| 483 |
to make use of case sensitivity) |
| 484 |
|
| 485 |
* support minting multiple resources with multiple command line |
| 486 |
args. Also if no resources given on command line, read |
| 487 |
resources from stdin. |
| 488 |
|
| 489 |
* support supplying multiple email addresses, for people who want |
| 490 |
to accept as multiple addresses. |
| 491 |
|
| 492 |
* support multiple resources on purging also. |
| 493 |
|
| 494 |
* support multiple tokens with check mode as cmd line args, if |
| 495 |
none given as args, read tokens from stdin; if -X/-x read from |
| 496 |
cmd line args, then from stdin as email (matching stamp headers |
| 497 |
skipping stamp headers) |
| 498 |
|
| 499 |
* rename default simple database to hashcash.sdb (.sdb extension), |
| 500 |
to distinguish from planned support for better database. |
| 501 |
|
| 502 |
* fix bug in PPUTS didn't match PPRINTF |
| 503 |
|
| 504 |
* fixup -l, -w, -n so they support multiple tokens also |
| 505 |
|
| 506 |
* made use of -b optional (get the default on mint & check) |
| 507 |
|
| 508 |
* added "-b default" to specify default number of bits with -s |
| 509 |
(otherwise no way to measure the default speed without |
| 510 |
specifying the number of bits -- and when this can change over |
| 511 |
time it would be inconvenient for scripting to have to |
| 512 |
separately obtain this) |
| 513 |
|
| 514 |
* added support for wildcard email addresses with '*' wildcard |
| 515 |
marker. '*' before '@' does not match '@', '*' after '@' does |
| 516 |
not match '.'. And both email addresses must contain @ sign and |
| 517 |
same number of '.' separated sub domains as wildcard address. |
| 518 |
Wildcard matching is the new default. Use -S to get plain |
| 519 |
string match. Can turn back on with -W. |
| 520 |
|
| 521 |
* increased size of random string to reduce chance of collisions |
| 522 |
between users. Now negligible chance of collision with typical |
| 523 |
token sizes. |
| 524 |
|
| 525 |
* added support for regexps. Can work from POSIX library or BSD |
| 526 |
regexp library. Use -E to get regexps. Input is always in |
| 527 |
POSIX syntax (specials are not quoted to have special action; |
| 528 |
are quoted to have plain meaning). If using BSD library still |
| 529 |
give input in POSIX syntax, it's converted to BSD internally. |
| 530 |
|
| 531 |
* implement highest matching semantics. Ensures that eg -c -b10 |
| 532 |
*@bar.invalid -b15 [email protected] will not accept a 10 bit |
| 533 |
token for [email protected]. (This is done by sorting resources |
| 534 |
highest bits required first and accepting only the first highest |
| 535 |
matching resource.) |
| 536 |
|
| 537 |
* change arg parsing so -b, -e, -g, -z, -E, -W, -S, apply to the |
| 538 |
following resources and tokens, and can be changed for later |
| 539 |
resources/tokens with tokens and args interspersed. Means you |
| 540 |
have to give these args before the resource/token or you will |
| 541 |
get defaults. |
| 542 |
|
| 543 |
hashcash-0.30 - 04-Mar-2004 - Adam Back <[email protected]> |
| 544 |
|
| 545 |
* make -cX check multiple X-Hashcash lines until it finds the |
| 546 |
right one. Bug reported by Kyle Hasselbacher <[email protected]>. |
| 547 |
|
| 548 |
hashcash-0.29 - 04-Mar-2004 - Adam Back <[email protected]> |
| 549 |
|
| 550 |
* fix prototype mismatch of function hashcash_check in |
| 551 |
hashcash.h vs libhc.c which caused compile failure on |
| 552 |
openBSD and freeBSD |
| 553 |
|
| 554 |
* change to make it compile on MAC OSX (need to recognize OSX |
| 555 |
and treat as unix like for headers to include) |
| 556 |
|
| 557 |
* change to make it compile on solaris 9 (and POSIX / SVR |
| 558 |
systems in general). Turns out putenv(3) is more portable |
| 559 |
than setenv(3) / unsetenv(3) |
| 560 |
|
| 561 |
* update sha1 man page to name it sha1-hashcash to avoid collision |
| 562 |
with openssl sha1(1). By default with openssl there is not |
| 563 |
actually any program named sha1, rather sha1 is a subprogram of |
| 564 |
openssl invoked "openssl sha1". However I think it may still be |
| 565 |
possible to compile that as a separate program or symlink sha1 to |
| 566 |
openssl to get that. |
| 567 |
|
| 568 |
* update sha1 man pages to refer to the other common sha1 |
| 569 |
implementations. |
| 570 |
|
| 571 |
* update LICENSE request |
| 572 |
|
| 573 |
hashcash-0.28 - 18-Sep-2003 - Adam Back <[email protected]> |
| 574 |
|
| 575 |
* fix bug with timezone handling reported by Joris Bontje |
| 576 |
<[email protected]> (turns out utctime function is |
| 577 |
redundant and wrong; time(2) gives time in UTCTime (doh)). |
| 578 |
Reason for confusion is ctime is in local time, so converts |
| 579 |
UTC time into local time even if you don't want that. But |
| 580 |
c-library time handling functions are really not designed |
| 581 |
for converting back from local to UTCTime when represented |
| 582 |
as a time_t. Changed a bunch of time related stuff to fix |
| 583 |
this up. |
| 584 |
|
| 585 |
* add -g flag for grace period suggested by Marc Lehmann |
| 586 |
<[email protected]> to avoid undue rejection of hashcash stamps |
| 587 |
because of clock skew (or timezone / daylight savings time |
| 588 |
off by one errors). Default for email is 2 days (48 hours) |
| 589 |
fast or slow. |
| 590 |
|
| 591 |
* change validity period default to 28 days; previous default |
| 592 |
was forever which did not match recommended email default |
| 593 |
|
| 594 |
* add -z flag to explicitly specify the width in chars of the |
| 595 |
time field. This flag deprecates and overrides the -m -e |
| 596 |
way to implicitly specify date field width. As before the |
| 597 |
default is 6 chars (date only in YYMMDD). |
| 598 |
|
| 599 |
hashcash-0.27 - 11-Sep-2003 - Adam Back <[email protected]> |
| 600 |
|
| 601 |
* add space char after 'X-Hashcash:' header that you get with |
| 602 |
-X option |
| 603 |
|
| 604 |
* add LICENSE file |
| 605 |
|
| 606 |
hashcash-0.26 - 26-Jun-2003 - Adam Back <[email protected]> |
| 607 |
|
| 608 |
* accidentally folded in some non-standard VERBOSE output I was |
| 609 |
playing with. This change makes it really standard output |
| 610 |
comparable to FIPS 180-1 appendices. |
| 611 |
|
| 612 |
* added a version number -- use -V to display it. Also -v |
| 613 |
(lowercase) by itself with no other arguments displays the |
| 614 |
version umber also. |
| 615 |
|
| 616 |
* bug fix for quiet output (when not going to a pipe, still |
| 617 |
need to see output!) |
| 618 |
|
| 619 |
* update everything to point at http://www.hashcash.org now we |
| 620 |
have the domain courtesy of it's previous owner Ashish |
| 621 |
Gulhati <[email protected]> (at no charge -- he declined my |
| 622 |
offer to pay for it and instead gave it to me!) |
| 623 |
|
| 624 |
* made a man page for sha1 utility also. |
| 625 |
|
| 626 |
* add -X option which is a shorthand version of -x 'X-Hashcash:' |
| 627 |
|
| 628 |
* remove leading and trailing blanks from hashcash tokens to |
| 629 |
make them more robustly survive email transit. |
| 630 |
|
| 631 |
hashcash-0.25 - 15-May-2003 - Adam Back <[email protected]> |
| 632 |
|
| 633 |
* fix VERBOSE trace output of sha1 implementation to match FIPS |
| 634 |
180-1 standard test vector examples (Note: this no impact on the |
| 635 |
result, just allows direct comparison to the test vectors in |
| 636 |
180-1). The FIPS 180-1 VERBOSE output got broken when I unrolled |
| 637 |
the rotates in the round function. |
| 638 |
|
| 639 |
* remove the automatic turning on of quiet mode if the output |
| 640 |
is a pipe per note from Simon Josefsson <[email protected]> about |
| 641 |
how that can be inconvenient for scripting |
| 642 |
|
| 643 |
hashcash-0.24 - 15-Mar-2003 - Adam Back <[email protected]> |
| 644 |
|
| 645 |
* fix minor error which made hashcash_expected_tries a tiny |
| 646 |
amount less efficient than realised |
| 647 |
|
| 648 |
hashcash-0.23 - 15-Mar-2003 - Adam Back <[email protected]> |
| 649 |
|
| 650 |
* fix error in libhc would always fail in hashcash_check |
| 651 |
reported by Alan Barclay <[email protected]>; note this |
| 652 |
bug does not affect the hashcash command line tool as it does not |
| 653 |
use this API |
| 654 |
|
| 655 |
* minor Makefile changes |
| 656 |
|
| 657 |
hashcash-0.22 - 16-Aug-2002 - Adam Back <[email protected]> |
| 658 |
|
| 659 |
* fix uninitialized counter string in hashcash_per_sec, bug |
| 660 |
reported by Mathias Langer |
| 661 |
|
| 662 |
hashcash-0.21 - 15-Aug-2002 - Adam Back <[email protected]> |
| 663 |
|
| 664 |
* fix compile warnings with VC++ 6. |
| 665 |
|
| 666 |
hashcash-0.20 - 13-Aug-2002 - Adam Back <[email protected]> |
| 667 |
|
| 668 |
* change format to include version number |
| 669 |
* change collision to be on 0^k string instead of on |
| 670 |
SHA1(date:resource) |
| 671 |
|
| 672 |
hashcash-0.19 - 25-Apr-2002 - Adam Back <[email protected]> |
| 673 |
|
| 674 |
* fix bug reported that minting always returns failure |
| 675 |
* fix erroneous logic involving validation of validity periods |
| 676 |
|
| 677 |
hashcash-0.18 - 23-Mar-2002 - Adam Back <[email protected]> |
| 678 |
|
| 679 |
* fix token parsing to allow resource names with :s |
| 680 |
in them (eg. urls etc) |
| 681 |
* change hashcash_mint API a bit |
| 682 |
* add programming APIs for all other functions except |
| 683 |
double spend db, and move library code to libhc.c |
| 684 |
|
| 685 |
hashcash-0.17 - 23-Mar-2002 - Adam Back <[email protected]> |
| 686 |
|
| 687 |
* add programming API for hashcash_mint |
| 688 |
* separate hashcash tool program from hashcash library code |
| 689 |
* remove trailing 'Z' option for times -- adds no value |
| 690 |
|
| 691 |
hashcash-0.16 - 15-Mar-2002 - Adam Back <[email protected]> |
| 692 |
|
| 693 |
* minor clean up stuff: |
| 694 |
* allow longer collision strings for compatibility with future |
| 695 |
versions |
| 696 |
* reject collision strings with non-printable and non ascii |
| 697 |
chars (< ascii(32) and > ascii(127) |
| 698 |
* make install now installs man page |
| 699 |
* fix VMS compile warning |
| 700 |
* fix bad portability assumption about time_t being signed |
| 701 |
* simple VMS scripting build script |
| 702 |
|
| 703 |
hashcash-0.15 - 14-Mar-2002 - Adam Back <[email protected]> |
| 704 |
|
| 705 |
* deal with unix, DOS, and mac lf endings (rather than just unix) |
| 706 |
* fix bug reported by Doc.Cypher <[email protected]> |
| 707 |
* modifications to compile under VC++ 6.0 on win32 |
| 708 |
* add -i feature |
| 709 |
|
| 710 |
hashcash-0.14 - 13-Mar-2002 - Adam Back <[email protected]> |
| 711 |
|
| 712 |
* revamped flags and arguments |
| 713 |
* lots of new options and features |
| 714 |
* more safe error reporting (avoid risk of false positives) |
| 715 |
* fix all warnings |
| 716 |
* make compile on machines with 64 bit longs |
| 717 |
* make compile on IRIX |
| 718 |
* make Makefile more portable |
| 719 |
* more reliable timing strategy |
| 720 |
* remove separate endian.c -- put endian stuff in libsha1.c |
| 721 |
* create man page |
| 722 |
* update documentation |
| 723 |
* re-implement SDB simple database to have a more standard |
| 724 |
interface to facilitate plugging in gdb etc |
| 725 |
* import random number interface to /dev/urandom |
| 726 |
|
| 727 |
hashcash-0.13 - 03-Mar-2002 - Adam Back <[email protected]> |
| 728 |
|
| 729 |
* fix bug introduced in 0.12 |
| 730 |
* update documentation |
| 731 |
|
| 732 |
hashcash-0.12 - 03-Mar-2002 - Adam Back <[email protected]> |
| 733 |
|
| 734 |
* add option to verify resource name given on command line |
| 735 |
matches resource name in collision |
| 736 |
* also more compatible with 0.10 command line as a result |
| 737 |
* add option to print resource name parsed from collision |
| 738 |
|
| 739 |
hashcash-0.11 - 02-Mar-2002 - Adam Back <[email protected]> |
| 740 |
|
| 741 |
* fix buffer overflow reported by Max Greenius |
| 742 |
* add -v mode suggested by Michael Shinn |
| 743 |
* add interactive mode instead of usage as default, another |
| 744 |
suggestion from Michael Shinn |
| 745 |
* add explicit -h for usage |
| 746 |
* add -q mode for even quieter output (batch like mode) |
| 747 |
* add -x option to take collision to verify from stdin |
| 748 |
* update the documentation in readme.txt to reflect |
| 749 |
new format and options |
| 750 |
* add install target to makefile to install binaries |
| 751 |
for hashcash and sha1 in /usr/local/bin, another |
| 752 |
suggestion from Michael Shinn |
| 753 |
|
| 754 |
hashcash-0.10 - 20-Feb-2002 - Michael Shinn <[email protected]> |
| 755 |
|
| 756 |
* change output format slightly to make it easier |
| 757 |
to recognize the collision amongst the verbose output |
| 758 |
|
| 759 |
hashcash-0.09 - 25-May-2001 - Adam Back <[email protected]> |
| 760 |
|
| 761 |
* clean up sha1.h |
| 762 |
* add simple makefile |
| 763 |
* fix bug in endian.h with linux redhat62 |
| 764 |
* change format to use : delimiters |
| 765 |
* changed old version numers to be two digit |
| 766 |
* standardised on bsd indentation |
| 767 |
|
| 768 |
hashcash-0.08 - 28-Feb-2000 - Adam Back <[email protected]> |
| 769 |
|
| 770 |
* support for openSSL sha1 (-DOPENSSL) |
| 771 |
|
| 772 |
hashcash-0.07 - 08-Dec-1997 - Adam Back <[email protected]> |
| 773 |
|
| 774 |
* bug fix in SHA1 code |
| 775 |
|
| 776 |
hashcash-0.06 - 07-May-1997 - Andy Dustman <[email protected]> |
| 777 |
|
| 778 |
* bug fix + SPARSE compile option for library use |
| 779 |
|
| 780 |
hashcash-0.05 - 07-Mar-1997 - Adam Back <[email protected]> |
| 781 |
|
| 782 |
* made mods as suggested by Andy Dustman <[email protected]> |
| 783 |
to avoid collision collisions on larger collision lengths |
| 784 |
previous method was bugged |
| 785 |
|
| 786 |
hashcash-0.04 - 31-Mar-1997 - Adam Back <[email protected]> |
| 787 |
|
| 788 |
* no description |
| 789 |
|
| 790 |
hashcash-0.03 - 30-Mar-1997 - Adam Back <[email protected]> |
| 791 |
|
| 792 |
* put in fast SHA1, and other mods giving a 4x speedup |
| 793 |
* plus a few bug fixes |
| 794 |
|
| 795 |
hashcash-0.02 - 28-Mar-1997 - Chris Kuethe <[email protected]> |
| 796 |
|
| 797 |
* added minimal macintosh support (Think C) |
| 798 |
|
| 799 |
hashcash-0.01 - 27-Mar-1997 - Adam Back <[email protected]> |
| 800 |
|
| 801 |
* first version |