Article View: alt.privacy.anon-server
Article #252099Re: dizum nym server esub (was: Dizum Nym Server Confirmation)
From: Kulin Remailer
Date: Sat, 26 Nov 2011 19:22
Date: Sat, 26 Nov 2011 19:22
94 lines
5105 bytes
5105 bytes
In article <slrnjcv5dm.29o.admin@fleegle.mixmin.net> Zax <admin@mixmin.net> wrote: > > On 25 Nov 2011 01:32:06 -0000, Kulin Remailer wrote in > Message-Id: <03EO7KWD40872.3972916667@reece.net.au>: > > > I am hoping that someone here has sufficient understanding of this process to > > explain it clearly to my apparently dense self. I will rephrase it plainly > > again. > > > > The goal is to identify the steps necessary to decipher the subject when it has > > hsub encoding, using some sample data from one of the a.a.m. group messages. > > In my conversation with Zax, this was said: > > Let's go back to basics. I think the binary/hex/text conversion stuff > is confusing the issue. Those steps are only required because various > tools require differing input/output formats. > > First off, there is really no such process as checking an hSub. It's > based on a one-way hash so there is no deciphering it. The difference > between generating and checking is that in the first instance, the hsub > is generated using a passphrase and a random string. In second, it uses > a passphrase and a known string. > > The formula for a hsub is simple: > v + sha256(v + p) > v = 8 bytes of random data > p = passphrase > > For an example: > v = abcdefgh > p = password > > This give us: > abcdefgh + sha256(abcdefghpassphrase) > > sha256(abcdefghpassphrase) = > 300666c1934b32aa47966e2c1790bc5cc198cf590da3d1a4acf1bc9d645cc29e > > As we want the whole thing expressed in hex, we also convert our v > (abcdefgh) to hex, which is: 6162636465666768 > > Join the two hex outputs together and you get: > 6162636465666768300666c1934b32aa47966e2c1790bc5cc198cf590da3d1a4acf1bc9d645cc29e > > We finally trim that to 48 chars so it looks like an eSub: > 6162636465666768300666c1934b32aa47966e2c1790bc5c > > That's it for creating an hSub. Now we want to validate one. We'll > take the one generated above. > > Same formula: > v + sha256(v + p) > Except instead of v being randomly generated, we know it because it's > the first 16 digits of the hSub we're checking: > 6162636465666768 > We decode this back to bytes (because the sha256 function expects it): > abcdefgh > > The final formula is: > abcdefgh + sha256(abcdefghpassphrase) > Notice that this is the identical formula to the one we used to generate > the hsub. As a result, the output is also identical (after trimming): > 6162636465666768300666c1934b32aa47966e2c1790bc5c > > We have a hash collision, the message belongs to us. Hi, Zax. I am also following your explanation, and I have a question about this example you made. I looked back over some other posts of yours and found this dialogue: > I've just added the plain-text subject option to the Nymserver. This > makes the list of supported modify options: > symmetric Add a layer of symmetric encryption (not recommended). > I've just added the plain-text subject option to the Nymserver. This > makes the list of supported modify options: > symmetric Add a layer of symmetric encryption (not recommended). > hsub Define your hsub key > subject Define a plain-text subject (used if no hsub defined) > delete Delete a Nym (specify "yes" as the option's value) Is this line "hsub: Define your hsub key" what you refer to in your present example as the password to be used? I am asking because some other posters are saying that the password is the subject itself. You previous post suggests otherwise. Also, in the case of the other nym servers that support hsub, is the hsub key a password that is different from the subject itself? Thanks. I think that is one of the questions from the original poster too.
Technical Details
Message-ID:
<ZAR3MMIJ40874.1406597222@reece.net.au>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.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!news2.euro.net!news.mixmin.net!eweka.nl!hq-usenetpeers.eweka.nl!188.40.76.149.MISMATCH!mail2news.mixmin.net!not-for-mailReferences:
<G4ZWEK6E40834.1709490741@reece.net.au> <P45FGO7V40834.3307523148@reece.net.au> <slrnj9qsph.3ue.admin@fleegle.mixmin.net> <J7OCJWNL40835.1003819444@reece.net.au> <slrnj9t2c7.ll3.admin@fleegle.mixmin.net> <KLATCQHN40836.0473032407@reece.net.au> <68c6213a3306e8d7e7c2b7bac0507003@dizum.com> <slrnja517h.ll3.admin@fleegle.mixmin.net> <03EO7KWD40872.3972916667@reece.net.au> <slrnjcv5dm.29o.admin@fleegle.mixmin.net>Show Full Headers
Complete Article Headers
Message-ID: <ZAR3MMIJ40874.1406597222@reece.net.au> Subject: Re: dizum nym server esub (was: Dizum Nym Server Confirmation) Date: Sat, 26 Nov 2011 19:22:33 +0000 From: Kulin Remailer <remailer@reece.net.au> References: <G4ZWEK6E40834.1709490741@reece.net.au> <P45FGO7V40834.3307523148@reece.net.au> <slrnj9qsph.3ue.admin@fleegle.mixmin.net> <J7OCJWNL40835.1003819444@reece.net.au> <slrnj9t2c7.ll3.admin@fleegle.mixmin.net> <KLATCQHN40836.0473032407@reece.net.au> <68c6213a3306e8d7e7c2b7bac0507003@dizum.com> <slrnja517h.ll3.admin@fleegle.mixmin.net> <03EO7KWD40872.3972916667@reece.net.au> <slrnjcv5dm.29o.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.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!news2.euro.net!news.mixmin.net!eweka.nl!hq-usenetpeers.eweka.nl!188.40.76.149.MISMATCH!mail2news.mixmin.net!not-for-mail X-Remailer-Contact: abuse@reece.net.au (English Only Please) Newsgroups: alt.privacy.anon-server Lines: 95 Injection-Info: mail2news.mixmin.net; mail-complaints-to=abuse@mixmin.net X-Original-Bytes: 4803