🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.privacy.anon-server
Article #173886

Re: Countering a programming problem with Hashcash (Was: TOR nodes familiar?)

#173886
From: Thomas J. Boschloo
Date: Thu, 19 Aug 2004 19:33
70 lines
4369 bytes
-----BEGIN PGP SIGNED MESSAGE-----

Below is a reply I got from Adam himself on hashcash expiring while
being generated. It's a good post with a fine solution! Read it ;-)

I myself would want to add that minting tokens the way it was before I
thought of this 'attack', would partition users with very slow or very
fast computers. Timestamps way in the past would belong to owners of
slow computers (running e.g. windows 98) while fast computers would have
timestamps that are more current.

The changes that Adam proposes below to his hashcash client will solve
both problems.

Regards,
Thomas


Datum: Mon, 16 Aug 2004 11:05:57 -0400
Van: Adam Back <adam@mungecypherspace.org>
Aan: t.j.boschloo@mungehccnet.nl
Onderwerp: Re: [Fwd: Countering a programming problem with Hashcash
(Was: TOR nodes familiar?)]

Hi Thomas

| Hi Adam, I figured you might be interested in this post and might
| have some ideas for solving this problem..

It is an interesting problem and quite true for very large stamps.  I
don't think anyone noticed this potential problem before.

I think I found a nice solution to it and I should code it into the
hashcash client to be complete.

You could forward this back to the list as I don't have news setup
convenient right now.

| This gives me an idea for an update to hashcash generators. If you e.g.
| take one month to generate a hashcash token, that token might be expired
| by the time it is generated. Therefor I suggest that hashcash clients do
| an intelligent guess at which time the token will be generated and set
| the timestamp on the token ahead (a month).

So using the observation that hashcash stamps are like fair coin
tosses and changing any of the parameters part-way through the work
does not discard any work, I propose we fix this as follows.  If the
time changes significantly during minting we change the time field in
the stamp on the fly and keep minting.  That way however long it takes
to mint it will have very close to full validity period left when it
is created.

| Of course there will be trouble if by some luck the token in generated
| ahead of the time set in the timestamp.

yes ending up with greatly futuristic stamps could be problematic as
the hashcash client rejects stamps that are too futuristic (more than
48 hrs futuristc by default).  The 48 hrs is chosen to be a bit
lenient on computers with clocks being somewhat set incorrectly.

Adam
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iQB5AwUBQSUApQEP2l8iXKAJAQFaVAMgq+QgnPRxBCSGBryei4IvmaLl5VNw6LU5
hMnx2YxaSOy3BGmug/TO9QAQIIM041nfwEPapoJEKQG6d8IzL77ZqNwpBaL2rIeM
JVuWmkZzKfhypDYqJbA3Zbhze8O5A/w9NLMIcQ==
=KktP
-----END PGP SIGNATURE-----
Technical Details
Message-ID: <412500A5.5090300@hccnet.nl.invalid>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.20141023.mbox.gz!num2.nntp.dca.giganews.com!number1.nntp.dca.giganews.com!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!cyclone1.gnilink.net!gnilink.net!news.glorb.com!transit.nntp.hccnet.nl!reader.nntp.hccnet.nl!not-for-mail
References: <pk7m8jlwr6ul.dlg@x02x67invalid.net> <4nkdh0hq189onvtnd38dglasdkh5vgakcd@4ax.com> <1avm7kf50tsmc.dlg@x02x67invalid.net> <slrnchefb0.r9p.QnickQm@totoro.wangafu.net> <1nhjq42e6xbbj.dlg@x02x67invalid.net> <411E2032.1080901@hccnet.nl.invalid>

Show Full Headers
Complete Article Headers
Message-ID: <412500A5.5090300@hccnet.nl.invalid>
Subject: Re: Countering a programming problem with Hashcash (Was: TOR nodes familiar?)
Date: Thu, 19 Aug 2004 21:33:57 +0200
From: "Thomas J. Boschloo" <nospam@hccnet.nl.invalid>
References: <pk7m8jlwr6ul.dlg@x02x67invalid.net> <4nkdh0hq189onvtnd38dglasdkh5vgakcd@4ax.com> <1avm7kf50tsmc.dlg@x02x67invalid.net> <slrnchefb0.r9p.QnickQm@totoro.wangafu.net> <1nhjq42e6xbbj.dlg@x02x67invalid.net> <411E2032.1080901@hccnet.nl.invalid>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.20141023.mbox.gz!num2.nntp.dca.giganews.com!number1.nntp.dca.giganews.com!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!cyclone1.gnilink.net!gnilink.net!news.glorb.com!transit.nntp.hccnet.nl!reader.nntp.hccnet.nl!not-for-mail
Organization: The Lost Biro Project
User-Agent: Mozilla Thunderbird 0.7.3 (Windows/20040803)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: alt.privacy.anon-server
In-Reply-To: <411E2032.1080901@hccnet.nl.invalid>
X-Enigmail-Version: 0.85.0.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 70
NNTP-Posting-Date: 19 Aug 2004 19:34:01 GMT
NNTP-Posting-Host: 62.251.35.25
X-Trace: 1092944041 reader20.nntp.hccnet.nl 766 62.251.35.25:1042
X-Complaints-To: abuse@hccnet.nl