🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Ping Zax

#238840
From: Zax
Date: Tue, 25 May 2010 20:36
62 lines
3295 bytes
On Tue, 25 May 2010 21:00:14 +0200 (CEST), Nomen Nescio wrote in
Message-Id: <ec8d34f4ec86664e321c0c857da2de84@dizum.com>:

>   I have been playing around with interpreting this and can't get
> back to the hsub subject line.  What does 'text' consist of?  I
> have tried several combinations with this actual example:
>
> 67112183b0fc813b98a0e2b3399a3fa9dba850f2b8eca82d
>
> 67112183+myhsub
> 67112183+mysubject
> 67112183+myhsub+mysubject
> 67112183+mysubject+myhsub

That's the main beauty of hSub, it's irreversible.  You can't get back
to the original text.  :)

Here's an example of how it works:

The User:-
* Picks a piece of text, (this is the secret).
* For our example, lets use 'abcdef'.
* Sends the secret to the server.
That's a one time operation unless the user wants to change their secret
sometime in the future.

Now when the server wants to send a message to the user.

The Server:-
* Generates 64 bits of randomness.  For out example, '12345678'.
* Joins this together with the user's secret to get '12345678abcdef'
* Creates a SHA256 Hash of that, which is:
  0163c784ba3df0d9a2e3d4d1402fb50b55dd19b2f5b1232054196a6b90df7a1e
* Joins the 64 bits of randomness to the front of that to get:
  123456780163c784ba3df0d9a2e3d4d1402fb50b55dd19b2f5b1232054196a6b90df7a1e
* Trims is to 48 digits to make it look the same as an eSub:
  123456780163c784ba3df0d9a2e3d4d1402fb50b55dd19b2
* Puts the hSub in the message Subject and posts it.

Now the user needs to test each message in a.a.m.

The User:-
* Splits the Subject into it's two parts:
  12345678
  0163c784ba3df0d9a2e3d4d1402fb50b55dd19b2
* Generates their own hSub but instead of using 64 bits of randomness, it
  uses the 12345678 it just got from splitting the Subject it's
  checking.  Of course the user also knows their secret (abcdef).  The
  result is:
  12345678 + sha256(12345678 + abcdef) which is:
  123456780163c784ba3df0d9a2e3d4d1402fb50b55dd19b2f5b1232054196a6b90df7a1e
* Trim it to 48 digits and you have:
  123456780163c784ba3df0d9a2e3d4d1402fb50b55dd19b2

The result is the same as the hSub we're checking, the message belongs
to the user!

-- 
pub  1024D/8ED57743 2003-07-08 Bananasplit Operator
     Key fingerprint = 796F 67E0 E890 A0BB BDAE  EBB4 94A6 7A09 8ED5 7743
uid                            Admin <admin.bananasplit.info>
Technical Details
Message-ID: <slrnhvod5q.hdt.admin@fleegle.mixmin.net>
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!border1.nntp.ams.giganews.com!nntp.giganews.com!news.mixmin.net!.POSTED.fleegle.mixmin.net!not-for-mail
References: <slrnhvo3qr.hdt.admin@fleegle.mixmin.net> <ec8d34f4ec86664e321c0c857da2de84@dizum.com>

Show Full Headers
Complete Article Headers
Message-ID: <slrnhvod5q.hdt.admin@fleegle.mixmin.net>
Subject: Re: Ping Zax
Date: Tue, 25 May 2010 20:36:10 +0000
From: Zax <admin@bananasplit.info>
References: <slrnhvo3qr.hdt.admin@fleegle.mixmin.net> <ec8d34f4ec86664e321c0c857da2de84@dizum.com>
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!border1.nntp.ams.giganews.com!nntp.giganews.com!news.mixmin.net!.POSTED.fleegle.mixmin.net!not-for-mail
Newsgroups: alt.privacy.anon-server
Organization: Bananasplit
Injection-Date: Tue, 25 May 2010 20:36:10 +0000 (UTC)
Injection-Info: news.mixmin.net;
 posting-host="fleegle.mixmin.net:2002:5285:676::1";
 logging-data="19673"; mail-complaints-to="abuse@mixmin.net"
User-Agent: slrn/pre1.0.0-17 (Linux)
Lines: 61