🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: New Hsub Finder Procedure

#252638
From: Fritz Wuehler
Date: Wed, 28 Dec 2011 05:32
65 lines
5283 bytes
In article <slrnjfj8be.cgo.admin@fleegle.mixmin.net>
Zax <admin@mixmin.net> wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
>
> On Mon, 26 Dec 2011 23:37:44 +0100 (CET), Nomen Nescio wrote in
> Message-Id: <7990d5ed8f987b40741c1aa4d9e46a00@dizum.com>:
>
> > Secondly, this one:
> >
> > def main():
> >     """Only used for testing purposes.  We Generate an eSub and then check
> > it
> >     using the same input text."""
> >     e = esub()
> >     key = "key"
> >     text = "text"
> >     esubs = []
> >     esubs.append(e.bf(text, key))
> >     esubs.append("14857375e7174ae1dd83b80612f8a148e2777c7ae78c4c7d")
> >     esubs.append("fb56b638106688702dfed01fb763e3c9c29de2f46611eabe")
> >     esubs.append("7f338d465085b8912d15a857c0726c270655bad5e8859f2f")
> >     esubs.append("ac2ad32d9f603a3b1deaa57ee970a7ecfbd42717b5256328")
> >     esubs.append("1c5e5d8ff9ef51fe082b96a2db196d7d0e9b9933e51a4bd1")
> >     for sub in esubs:
> >         print "%s: %s" % (sub, e.check(text, key, sub))
>
> This is the correct layout.
> >
> >>From both of these configurations, the script responds with this error:
> >
> >   File "C:\Documents and Settings\John\My Documents\Downloads\esub.py",
> > line 54
> >     using the same input text."""
> >                                              ^
> > IndentationError: expected an indented block
> Python uses indentation to define where loops and conditions start and
> finish.  You probably have a Tab char instead of spaces to indent the
> line you've added.
>
> If you prefer, I've updated the example on my website to include that
> line: http://www.banana.mixmin.net/esub.py
>

I appreciate that, Zax, and others will too.  By now you may have seen my 
second posting explaining that I also found and fixed the glitch on my end 
already.  It took some doing to find it too because first I do not know 
anything about python and its strict dependence on indentations for 
functionality and second the error was not visible but hidden as a 
formatting code related to, as you suggested, a tab replacing a space, 
which I could not see.  I was frustrated as hell until I thought hard 
about the error message it was giving and then decided to use a better 
text editor, one designed for programming code, which allowed me to see 
all the unseen text formatting codes.  It highlighted the objectionable 
object.

It is a big step forward being able to generate a new esub, but I still 
want to be able to create one from arbitrary data I provide: the key and 
the subject text.  I understand that they have to be md5 hashed first, but 
how do I use your program to feed this data to it so that the esub created 
will be related to my particular information?  Would it need to be 
inserted directly into the text of the code somewhere or fed to it from 
the command line, or what exactly? Thanks.
Technical Details
Message-ID: <cedaff80f49aaff9a4a6b8a8ff4ffc03@msgid.frell.theremailer.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!novia!amsnews11.chello.com!xlned.com!feeder1.xlned.com!eweka.nl!hq-usenetpeers.eweka.nl!188.40.76.149.MISMATCH!mail2news.mixmin.net!not-for-mail
References: <GE2BSOK140893.2355092593@reece.net.au> <G99AA5SC40893.6938773148@reece.net.au> <3DJLN2N340894.473599537@reece.net.au> <20111217170048.3CA7581460@fleegle.mixmin.net> <Y6ZEU9TX40895.1338310185@reece.net.au> <20111218005425.C6C4181461@fleegle.mixmin.net> <LA8QQOYU40895.9336805556@reece.net.au> <slrnjes99n.cgo.admin@fleegle.mixmin.net> <ZKJ5SOSX40896.8830671296@reece.net.au> <slrnjf198r.cgo.admin@fleegle.mixmin.net> <e90d3b22e97ab156d8e6c5f5ca9ef24c@remailer.privacy.at> <slrnjfh0dv.cgo.admin@fleegle.mixmin.net> <7990d5ed8f987b40741c1aa4d9e46a00@dizum.com> <slrnjfj8be.cgo.admin@fleegle.mixmin.net>

Show Full Headers
Complete Article Headers
Message-ID: <cedaff80f49aaff9a4a6b8a8ff4ffc03@msgid.frell.theremailer.net>
Subject: Re: New Hsub Finder Procedure
Date: Wed, 28 Dec 2011 06:32:02 +0100
From: Fritz Wuehler <fritz@spamexpire-201112.rodent.frell.theremailer.net>
References: <GE2BSOK140893.2355092593@reece.net.au> <G99AA5SC40893.6938773148@reece.net.au> <3DJLN2N340894.473599537@reece.net.au> <20111217170048.3CA7581460@fleegle.mixmin.net> <Y6ZEU9TX40895.1338310185@reece.net.au> <20111218005425.C6C4181461@fleegle.mixmin.net> <LA8QQOYU40895.9336805556@reece.net.au> <slrnjes99n.cgo.admin@fleegle.mixmin.net> <ZKJ5SOSX40896.8830671296@reece.net.au> <slrnjf198r.cgo.admin@fleegle.mixmin.net> <e90d3b22e97ab156d8e6c5f5ca9ef24c@remailer.privacy.at> <slrnjfh0dv.cgo.admin@fleegle.mixmin.net> <7990d5ed8f987b40741c1aa4d9e46a00@dizum.com> <slrnjfj8be.cgo.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!novia!amsnews11.chello.com!xlned.com!feeder1.xlned.com!eweka.nl!hq-usenetpeers.eweka.nl!188.40.76.149.MISMATCH!mail2news.mixmin.net!not-for-mail
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
 d=frell.theremailer.net; s=remailer;
 h=Date:Message-ID:Subject:Newsgroups:Comments:From;
 bh=koxr31DMnAtgqCFJn7BiCt4Z0/TKhGg9CnC74zivRjM=;
 b=AE0jDapX4Bdnrt7dcyxSY9+FUIy5X+loCqfMqtf4U3sdHfS34LsHrt0DWXCttENvXSaYkJjWCE1dXdNfcnM+oHyuOdrqmz1w5Y4cfu3LPB/IdelSV4h3k9/4Ej8x0o5j6rsAQKwFbYCw3sAyyBOiX/QigiC7me6PdzewrAKxIQhN9NPumUnXJdcK1jP9TtYclsbi7khK3Bh4rEzT2hxBc5i1t8jNv2icfLPgWJVvwU9oLA9euveu0M+SqZoJbK8ZoxShCwu6sbCbUgMMLZmtmcxTqbsGspdYzNldy2WZnuPJMx6Ln+8TGgjEtWq5vOFxAsaAco9Lesn+KQcArt74p7A=;
Comments: This message did not originate from the Sender address above.
 It was remailed automatically by anonymizing remailer software.
 Please report problems or inappropriate use to the
 remailer administrator at <abuse@frell.theremailer.net>.
 Identifying the real sender is technically impossible.
Precedence: anon
Newsgroups: alt.privacy.anon-server
Lines: 66
Injection-Info: mail2news.mixmin.net; mail-complaints-to=abuse@mixmin.net
X-Original-Bytes: 4996