Article View: alt.privacy.anon-server
Article #251095Re: URL Retrieval @is-not-my.name
From: StealthMonger
Date: Tue, 27 Sep 2011 11:29
Date: Tue, 27 Sep 2011 11:29
97 lines
3861 bytes
3861 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Dave U. Random <anonymous@anonymitaet-im-inter.net> writes:
> I saw this command in the gpg manual for decrypting symmetrically
> encrypted messages:
> gpg --decrypt filename
> And it said that I would be prompted for a passphrase; and I think I
> should enter the "symmetric_key" that I used as my subject password?
> Is that right? I could do that command on the messages until I find
> mine?
That could be done. But if the Subject: line doesn't pass the hsub
test, it's a waste to try to decrypt the body.
> I am not sure what you mean by hsub algorithm.
It's really simpler to use anonget for the whole job, but if you
insist on doing things piecemeal, here's a script, hsubtest.py, to
test the content of a Subject: line for match to a given hsub:
#! /usr/bin/python
# SYNOPSIS
# hsub.py <key> <hsub>
import sys, os
from hashlib import sha256
key = sys.argv[1]
sub = sys.argv[2]
sublen = len(sub)
if sublen < 48 or sublen > 80:
sys.exit(1)
try:
iv = sub[:16].decode('hex')
except TypeError:
sys.exit(1)
hsub = (iv + sha256(iv + key).digest()).encode('hex')[:sublen]
if sub == hsub:
sys.exit(0)
else:
sys.exit(1)
That can be applied by using this shell script, hsubtest-arthdr:
#!/bin/sh
# SYNOPSIS
# hsubtest-arthdr <key>
# DESCRIPTION
# Returns the result of calling hsubtest.py key test, where
# test is a ^Subject: field found on standard input. Useful
# as a procmail test when fed the header of a candidate
# article.
hsubtest.py $1 $(sed -n 's/^Subject: //Ip')
Apply this to an a.a.m message, aam-message, as follows:
hsubtest-arthdr <key> < aam-message
Only if the return code is 0 (success) does it make sense to go on to
try to decrypt the body of aam-message.
Hope this helps. Let us know.
- --
-- StealthMonger <StealthMonger@nym.mixmin.net>
Long, random latency is part of the price of Internet anonymity.
anonget: Is this anonymous browsing, or what?
http://groups.google.ws/group/alt.privacy.anon-server/msg/073f34abb668df33?dmode=source&output=gplain
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.9 <http://mailcrypt.sourceforge.net/>
iEYEARECAAYFAk6BqGwACgkQDkU5rhlDCl67ewCgkcp3r/7kM90XgFPAYiyTNOXG
bLoAoK6bvQUPJzJx/wZeyhaebuVLwtuP
=XMLw
-----END PGP SIGNATURE-----
Technical Details
Message-ID:
<20110927112907.44FB281466@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.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!xlned.com!feeder1.xlned.com!eweka.nl!hq-usenetpeers.eweka.nl!188.40.76.149.MISMATCH!mail2news.mixmin.net!not-for-mailReferences:
<1TREOZ5N40812.6171296296@reece.net.au> <slrnj80igh.tr6.admin@fleegle.mixmin.net> <20110927062909.14C738145B@fleegle.mixmin.net> <b3be7c8fff0626d93aca0af85e418652@anonymitaet-im-inter.net>Show Full Headers
Complete Article Headers
Message-ID: <20110927112907.44FB281466@fleegle.mixmin.net> Subject: Re: URL Retrieval @is-not-my.name Date: Tue, 27 Sep 2011 11:29:07 +0000 From: StealthMonger <Use-Author-Supplied-Address-Header@[127.1]> References: <1TREOZ5N40812.6171296296@reece.net.au> <slrnj80igh.tr6.admin@fleegle.mixmin.net> <20110927062909.14C738145B@fleegle.mixmin.net> <b3be7c8fff0626d93aca0af85e418652@anonymitaet-im-inter.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.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!xlned.com!feeder1.xlned.com!eweka.nl!hq-usenetpeers.eweka.nl!188.40.76.149.MISMATCH!mail2news.mixmin.net!not-for-mail Newsgroups: alt.privacy.anon-server Author-Supplied-Address: StealthMonger<AT>nym<DOT>mixmin<DOT>net Lines: 98 Injection-Info: mail2news.mixmin.net; mail-complaints-to=abuse@mixmin.net