Article View: alt.privacy.anon-server
Article #247522Re: uinmyn 0.06
From: StealthMonger
Date: Fri, 25 Mar 2011 03:58
Date: Fri, 25 Mar 2011 03:58
75 lines
3632 bytes
3632 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Zax <admin@mixmin.net> writes:
> Just taken a look at your uinmyn-fetch-body.py and would suggest you
> consider the minor patch below.
Excellent! Thank you.
> In summary:
> Using the long keyid to specify the GPG recipient instead of
> send@is-not-my.name avoids a potential risk if anyone starts posting
> fake Nymserver keys for the unwary to download.
Ah. Good idea.
> I removed the Base64 import and used the internal encode('base64').
> Don't think this makes much difference unless you're catching
> exceptions. It just saves an import.
And it's nicer anyway to use an internal function when available.
> Casting the Base64 output as a string (using %s) prevents a potential
> concatenation error should the Base64 output be all numeric, resulting
> in "key" being an Integer. This would cause:
> TypeError: cannot concatenate 'str' and 'int' objects
Nice catch! That would have bitten sooner or later.
> I also changed the gpgproc.stdin.write to the same format, more for
> consistency than any actual issue.
Yeah, that's a nicer way to substitute strings that I hadn't noticed.
And thanks for showing me a way to avoid those ugly long lines in
shell commands. I can apply that elsewhere, too.
I'll test this and probably put it in a version 0.07 before long.
I shall be pleased to acknowledge your contribution, maybe in a new
"CREDITS" section or something. How do you wish to be known? Zax?
Steve Crook? Any email address?
> -gpgproc = Popen('gpg -e -a -r send@is-not-my.name --trust-model always
> --no-emit-version --batch', shell=True, stdin=PIPE)
Ouch! That line-wrap choked patch badly. Took a while to figure out.
I suppose that the reason you didn't sign your posting was to prevent
gpg corruption of the precious patch. But line wrap got you anyway :)
- --
-- StealthMonger <StealthMonger@nym.mixmin.net>
Long, random latency is part of the price of Internet anonymity.
uinmyn: Is this anonymous browsing, or what?
http://groups.google.com/group/alt.privacy.anon-server/msg/1580e6284f7e7317?dmode=source
stealthmail: Hide whether you're doing email, or when, or with whom.
mailto:stealthsuite@nym.mixmin.net?subject=send%20index.html
Key: mailto:stealthsuite@nym.mixmin.net?subject=send%20stealthmonger-key
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8+ <http://mailcrypt.sourceforge.net/>
iEYEARECAAYFAk2MB7IACgkQDkU5rhlDCl4i+QCgyIzWiFAM1xRydFJnqbmAL0vR
mHYAnA8ZRk9mLSWpnRNz9oxuxzMOpJGK
=5gtj
-----END PGP SIGNATURE-----
Technical Details
Message-ID:
<20110325035845.298EC8144A@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!news.mixmin.net!mail2news.mixmin.net!not-for-mailReferences:
<20110315104623.F320B81403@fleegle.mixmin.net> <slrniondms.tct.admin@fleegle.mixmin.net>Show Full Headers
Complete Article Headers
Message-ID: <20110325035845.298EC8144A@fleegle.mixmin.net> Subject: Re: uinmyn 0.06 Date: Fri, 25 Mar 2011 03:58:45 +0000 From: StealthMonger <Use-Author-Supplied-Address-Header@[127.1]> References: <20110315104623.F320B81403@fleegle.mixmin.net> <slrniondms.tct.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!news.mixmin.net!mail2news.mixmin.net!not-for-mail Newsgroups: alt.privacy.anon-server Author-Supplied-Address: StealthMonger<AT>nym<DOT>mixmin<DOT>net Lines: 76 Injection-Info: mail2news.mixmin.net; mail-complaints-to=abuse@mixmin.net