Article View: alt.privacy.anon-server
Article #239906Re: AAM hSub Interpreter / @is-not-my.name
From: Peter Fairbrother
Date: Tue, 20 Jul 2010 17:44
Date: Tue, 20 Jul 2010 17:44
142 lines
6943 bytes
6943 bytes
Peter Fairbrother wrote: > Zax wrote: >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA512 >> >> On Tue, 20 Jul 2010 12:44:57 +0100, Peter Fairbrother wrote in >> Message-Id: <4c458c37$0$27997$db0fefd9@news.zen.co.uk>: >> >>> Why did you chose 64 bits for the random number length? >> >> Hi Peter, >> >> 64 bits was chosen because it matches the entropy of the hSub's IDEA >> based predecessor, the eSub. I saw no reason to increase it because a >> Subject collision every 2^64 messages isn't a major issue when there >> haven't been that many messages posted to the whole of Usenet in its >> lifetime. > > The first collision would be expected after 2^32 messages, not 2^64 - > birthday attack. > > > But why not use eg 2^16? > > >>> Why is it generated by the "server or the service" - and what exactly >>> does that mean? >> >> Ok, I should have explained that a little more fully and I'll update it. >> The concept is linked with Pseudonym servers that output email messages >> for all their users into a shared mailbox; the Newsgroup >> alt.anonymous.messages. >> >> The user and the server share the secret element of the hSub so that >> when a message is posted by the server into the shared mailbox, the user >> can identify it by generating another hSub using the same random bits >> and the same secret. The same secret will result in a collision. >> >> The actual message is encrypted using standard GnuPG so the content is >> very secure. The role of the hSub is simply identification of >> ownership. > > You haven't answered my questions (and I understood the points you make > above from the website anyway). > > Why is the random number generated by the "server or the service"? > > What exactly does that mean - for instance, what is the server? > > If the server is malicious it can just give everyone the same "random > number" - and then it's easy to tell if two or more messages are for the > same person. > > > I'll have more to say, but I have to go to the dentist now. > > -- Peter Fairbrother Back, no drilling :) Another question is, how is this to be used? Suppose I want to look for my messages. First, do I give the same secret passphrase to all my potential correspondents? If I do, and if one of them leaks it, then hSub is toast and an observer who knows the passphrase can detect which messages are for me. Even if the passphrase stays safe, do I really want all my correspondents to know when I get a message? If instead I give each potential correspondent a different passphrase then I have to check each message many times to see if it's for me, once for each potential correspondent. There are several potential ways around this using assymetric crypto, where I have a secret key and I give out a public key to anyone who wants it, so only someone who knows the unshared secret (ie me) can ever tell whether the message is meant for me. Unfortunately these methods would all tend to give rather long hSubs - there are a couple of methods which give short ones, but I don't know enough about what hSub is for and how it is supposed to be used to say whether they would work. Some other ideas: short random strings. Give each correspondent a supply of single-use strings, say 8 characters long. Testing each message against say 100 (if you have 30 correspondents) strings won't take long as it's just a straight XOR. "But you'll get collisions" I hear you cry - yes, and a good thing too. In fact 8 characters is probably far too long, you won't get enough collisions. Let me explain. Suppose I get a message which I think is for me, but in fact it isn't. What happens? I use up a bit of bandwidth fetching the message and a few cycles trying to decode it. There may be anonymity implications because I have fetched the message, but we'll get to that later. Apart from that, there's no harm done. The cost is negligible. Now imagine that a watcher sees me collect a message. He's going to think I think it's meant for me. If I am in the UK and he's a Plod (Policeman) then he can demand the key to the associated encrypted message, and I go to jail if I refuse to give it to him. However if I can say "I can't decrypt it, it must be a collision" then he can't prove I refused to decrypt it, and I stay out of jail (assuming the rest of the crypto used is deniable). The benefit of collisions isn't just in that limited sort of deniability, it's more widespread. Let's get back to the anonymity implications of collecting a message. If I collect all the messages an observer can't tell which ones are for me, and hSubs are useless for deciding which messages to collect. However that uses a lot of bandwidth in collecting messages. If I collect only the messages which are for me, then it's obvious to an observer which messages are for me, and again hSubs are useless. So, I assume (I am unclear as to the purpose of hSub's) that I'm collecting some proportion of messages, some of which are for me. The number I collect is chosen - how? To conceal which messages are for me? To conceal the number of messages which are for me (including concealing whether there are no messages for me)? How are the actual messages I collect chosen? In all these cases, having collisions is useful. There are more good implications too, but this is long enough already. -- Peter Fairbrother
Technical Details
Message-ID:
<4c45e075$0$28006$db0fefd9@news.zen.co.uk>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-tw.bbs.sports.baseball.elephants.20141023.mbox.gz!border1.nntp.ams2.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!xlned.com!feeder1.xlned.com!zen.net.uk!hamilton.zen.co.uk!prichard.zen.co.uk.POSTED!not-for-mailReferences:
<1995fb9b55f743e936f4d34c577426d9@dizum.com> <77b0d510e1ce9e13381a486d4860456b@pboxmix.winstonsmith.info> <slrni3tnrn.j4l.admin@fleegle.mixmin.net> <4c458c37$0$27997$db0fefd9@news.zen.co.uk> <slrni4b7ku.tp6.admin@fleegle.mixmin.net> <4c45afa9$0$12162$fa0fcedb@news.zen.co.uk>Show Full Headers
Complete Article Headers
Message-ID: <4c45e075$0$28006$db0fefd9@news.zen.co.uk> Subject: Re: AAM hSub Interpreter / @is-not-my.name Date: Tue, 20 Jul 2010 18:44:23 +0100 From: Peter Fairbrother <zenadsl6186@zen.co.uk> References: <1995fb9b55f743e936f4d34c577426d9@dizum.com> <77b0d510e1ce9e13381a486d4860456b@pboxmix.winstonsmith.info> <slrni3tnrn.j4l.admin@fleegle.mixmin.net> <4c458c37$0$27997$db0fefd9@news.zen.co.uk> <slrni4b7ku.tp6.admin@fleegle.mixmin.net> <4c45afa9$0$12162$fa0fcedb@news.zen.co.uk> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-tw.bbs.sports.baseball.elephants.20141023.mbox.gz!border1.nntp.ams2.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!xlned.com!feeder1.xlned.com!zen.net.uk!hamilton.zen.co.uk!prichard.zen.co.uk.POSTED!not-for-mail User-Agent: Icedove 1.5.0.14eol (X11/20080724) MIME-Version: 1.0 Newsgroups: alt.privacy.anon-server In-Reply-To: <4c45afa9$0$12162$fa0fcedb@news.zen.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Lines: 142 Organization: Zen Internet NNTP-Posting-Host: 3bbc3c92.news.zen.co.uk X-Trace: DXC=Z@OioMW6e_Le@hNFIWl:K@0g@SS; SF6nGogMo?V<QJiMCaPH0OGgn7K6YS=A[SGf]DWE69SYC8HfM X-Complaints-To: abuse@zen.co.uk X-Original-Bytes: 6646