🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Proposed change to mixnym nym creation

#249747
From: Kulin Remailer
Date: Sun, 03 Jul 2011 05:51
79 lines
4517 bytes
In article <slrnj0j2pu.2h8.admin@fleegle.mixmin.net>
Zax <admin@mixmin.net> wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
>
> On 28 Jun 2011 05:04:49 -0000, Kulin Remailer wrote in
> Message-Id: <6MQHIM3P40722.5450115741@reece.net.au>:
>
> > I was wondering about the difference between the replies using throw-
> > keyids and the symmetric encrypted ones. I see the symmetric replies
> > carry the gpg version while the throw-keyids have no version at all.
> >
> > I know anyone decrypting these messages will see which is which, but,
> > if you wanted to, you could still remove the version line from the
> > symmetric encryption to obscure the difference to anyone not
> > decrypting. Maybe not worth the effort.
>
> I've removed the Version string from the symmetric encryption now. I
> don't think this achieves a lot as the Base64 encoded block with
> throw-keyid looks different to a symmetrically encrypted one. Better to
> be consistent though and remove the Version from everything.

I was looking through the code for wjlanders AAMhSub program and saw 
something I want to ask you about. This isn't a jab at the author. I 
wish he had stayed with it, and maybe asked for a little help. Such 
is life...

This is pascal code for creating the hsub string. It's pretty easy to 
understand. My question is about the formating of the 2 character hex 
codes.

> function TForm1.GeneratedSubject(SubjectPlusIV : string) : string;
> var x : integer;
>    Hash: TDCP_sha256;
>    HashDigest: array[0..31] of byte;
> begin
>     ZeroMemory(@HashDigest, sizeof(HashDigest));
>
>     FillChar(HashDigest,Sizeof(HashDigest), $FF);   // fill the digest with $FF
>     Hash:= TDCP_sha256.Create(Self);
>     Hash.Init;
>     Hash.UpdateStr(SubjectPlusIV);
>     Hash.Final(HashDigest);
>     Hash.Free;
>
>     FinalSubject := '';
>
>     for x := Low(HashDigest) to High(HashDigest) do
>         FinalSubject := FinalSubject + Format('%2x', [HashDigest[x]]);
>
>     while pos(' ', FinalSubject) > 0 do      //an x0 will Format out to ' 0'
>           FinalSubject := StringReplace(FinalSubject, ' ', '0', [rfReplaceAll]);
>
>     SetLength(FinalSubject, 32);
>     FinalSubject := GeneratedIV + lowercase(FinalSubject);
>
>     Result := FinalSubject;
> end;

This is the code for converting decimal chars to hex chars:
FinalSubject := FinalSubject + Format('%2x', [HashDigest[x]]);

You are likely doing something like this in your python code and the 
mixmaster code you created for hsub. I can't remember...you may 
convert the whole string at once instead of char by char, but the 
question is still the same.

What I'm curious about, notice above the author comments that x0 
converts to ' 0' which obviously adds a blank space in the hsub. Then 
the author replaces the blank with a '0' changing the output to '00'.

I have seen a couple subjects in aam with '00'. Is this the standard 
method for handling this situation? Just asking. No offense to the 
author intended.

Thanks

Technical Details
Message-ID: <S7I9YOH140727.5776736111@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!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!goblin1!goblin.stu.neva.ru!eweka.nl!hq-usenetpeers.eweka.nl!188.40.76.149.MISMATCH!mail2news.mixmin.net!not-for-mail
References: <slrnivhh93.qjn.admin@fleegle.mixmin.net> <HFDGNMRX40710.240150463@reece.net.au> <slrnivjo0b.qjn.admin@fleegle.mixmin.net> <UUKCN0BL40713.6553819444@reece.net.au> <slrnivrjr6.qjn.admin@fleegle.mixmin.net> <KFMS3MSW40714.6798032407@reece.net.au> <slrnivua9q.qjn.admin@fleegle.mixmin.net> <HI8RCK2840715.3794444444@reece.net.au> <slrnj042mr.qjn.admin@fleegle.mixmin.net> <O5IG806640718.2199884259@reece.net.au> <slrnj0dvut.2h8.admin@fleegle.mixmin.net> <6MQHIM3P40722.5450115741@reece.net.au> <slrnj0j2pu.2h8.admin@fleegle.mixmin.net>

Show Full Headers
Complete Article Headers
Message-ID: <S7I9YOH140727.5776736111@reece.net.au>
Subject: Re: Proposed change to mixnym nym creation
Date: Sun, 03 Jul 2011 05:51:51 +0000
From: Kulin Remailer <remailer@reece.net.au>
References: <slrnivhh93.qjn.admin@fleegle.mixmin.net> <HFDGNMRX40710.240150463@reece.net.au> <slrnivjo0b.qjn.admin@fleegle.mixmin.net> <UUKCN0BL40713.6553819444@reece.net.au> <slrnivrjr6.qjn.admin@fleegle.mixmin.net> <KFMS3MSW40714.6798032407@reece.net.au> <slrnivua9q.qjn.admin@fleegle.mixmin.net> <HI8RCK2840715.3794444444@reece.net.au> <slrnj042mr.qjn.admin@fleegle.mixmin.net> <O5IG806640718.2199884259@reece.net.au> <slrnj0dvut.2h8.admin@fleegle.mixmin.net> <6MQHIM3P40722.5450115741@reece.net.au> <slrnj0j2pu.2h8.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!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!goblin1!goblin.stu.neva.ru!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: 80
Injection-Info: mail2news.mixmin.net; mail-complaints-to=abuse@mixmin.net