Tor To Use Distributed RNG To Generate Truly Random Numbers (softpedia.com)
An anonymous reader quotes a report from Softpedia: Tor developers have been working on the next iteration of the Tor network and its underbelly, the Onion routing protocol, in order to create a stronger, harder-to-crack anonymous communications system. To advance the project, the developer team schedules brainstorming and planning meetings at regular intervals. The most recent of these meetings took place last week, in Montreal, Canada. In this session, the team tested the next generation of the Tor network working on top of a revamped Onion protocol that uses a new algorithm for generating random numbers, never before seen on the Internet. The Tor Project says it created something it calls "a distributed RNG" (random number generator) that uses two or more computers to create random numbers and then blends their outputs together into a new random number. The end result is something that's almost impossible to crack without knowing which computers from a network contributed to the final random number, and which entropy each one used. Last week, two University of Texas academics have made a breakthrough in random number generation. The work is theoretical, but could lead to a number of advances in cryptography, scientific polling, and the study of various complex environments such as the climate.
Why are people still complaining about random numbers? Over 10 years ago I saw a documentary that showed off a quantum photon splitter PCI card that could go in any computer. The API let you generate random numbers based on splitting photons left or right and it was deemed closer to 50% each side than any other randomizing system ever invented. So...what happened to that? Doing quantum tasks with photons is actually relatively easy so the story was believable. I can't think of a better way in the physical universe to generate random numbers. So besides the problem of requiring volunteers running relays to have one of these custom piece of hardware, why don't they attempt to use this solution?
and how can you know that the one generated on a computer that is not your own is not malicious?
and, no - i have not rtfa yet. gotta go to work.
Just use the daily finance / economic forecasts and predictions of the impacts on personal budgets, jobs, immigration.... that are being spouted by both sides of the current BREXIT** debate.
This can be generalised to any politician's promises but the current round are particularly egregious.
** Referendum for UK to leave/remain in the EU
I ran into entropy problems when signing a lot of JAR files in a build process - turns out modern computers with their large RAM that caches disk etc don't generate as much entropy as they used to.
The solution I used was the randomsound daemon, which samples white noise from your mic to inject into your entropy pool.
Why not just use that? There's a crapload of white noise in most server rooms, even near most consumer PCs (just tape a mic next to one of the cooling vents). Actual genuine entropy rather than this card-shuffled pseudo entropy - making things complex just obscures things further, it doesn't really create randomness.
What if you do pseudo+pseudo+pseudo+pseudo+pseudo+pseudo+pseudo+pseudo+pseudo+pseudo? The specification doesn't say they must be two sources. They said multiple sources.
That's essentially what they are doing.
By mixing deterministic pseudo-random streams you are never going to get a truly random result. What you will get though is much better quality fake random numbers that are harder to predict and the hope is that this will in turn help the whole system be more resilient to attack.
Someone putting a number of RNG systems onto TOR so they control providing the "random" number.
Donte Alistair Anderson Roberts - hi son!
Karma: Chameleon
To avoid fingerprinting TOR users. A flurry of NTP sync packets from a single IP address every couple days could light someone up a TOR user.
What TAILS does on boot is request a page from one of many popular websites (facebook, google, etc) then use the HTTP response to get the time. Much more discrete.
That alone warrant that it will never be a consumer product, unless provided ad-hoc on main boards. Remember tor is used by normal average consumer (with respect of using such specialized hardware).
C. Sagan : A demon haunted world:
http://www.amazon.com/gp/product/0345409469/
visit randi.org
In the world of crypto, I'd much rather be using something that's been around long enough to be thoroughly analysed. Every so often someone pops up with something new and exciting and different, then six months later gets shot down by the experts who describe exactly how to break it.
Telling us "even the authors can't predict what will come out of it" doesn't raise my confidence, either. I'd be a lot happier with a statement like "rigorous analysis shows that the random numbers generated will be uniformly distributed", or something like that.
Real crypto work is hard, and random number generation is part of the hard.
What happened to "Randomize timer"?
No. The title is bullshit. This is about generating very hard to predict pseudo-random numbers, because you have to guess a large, distributed state and distributed seeding values.
As there is zero need for "true random" numbers in crypto (you only need "not guessable fro an attacker"), this is still a significant improvement.
Side note: Whenever something "mainstream" reports about random number generation, they get it wrong. It seems that non-experts routinely have no clue what is important here and what not. As for crypto, the philosophical question what "random" means is completely immaterial. Crypto just cares whether an attacker can somehow find out the "random" number or not and how difficult it is if it is possible. There is no need for "true" random numbers anywhere in crypto.
Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
"Shake laptop to generate private key."
The packets sent over TOR should be encrypted, such that they cannot be ascertained to be of a specific protocol to someone not using TOR. If you are referring within the TOR network, then using UNIX time or UTC (i.e. something without timezone information) should provide no identifying information in addition to TOR masking the external IP address of anyone more than 1 hop away from you.
It is my understanding that IP addresses within the TOR network are not necessarily chartable to physical location in the way that standard IP's are per the persistent physical locations of any ISP's network(s).
What the hell is a distributed ranger?
Sent from FF XI.
If the bad guys control N-1 RNG's how long would it take before they could predict the the Nth's RNG output? Is there anyway to protect from this?
Knowledge = Power
P= W/t
t=Money
Money = Work/Knowledge so the less you know the more you make
It's kind of the opposite of an improvement. Now the localized task of generating a random number for crypto operations will be distributed to unknown peers, almost certain to be chosen by some kind of obscure network architecture that if documented at all outside of code will simply provide an avenue of attack (manipulating network load, other machines on the network, etc) outside of what was previously possible.
Actually as long as you also generate a random number yourself, and just xor everything together, it still can't be worse than what they're doing now.
Get data from one or more sources + your own local data.. put then thru a sha.
Add to this that the sources you used may be one or more hops away from you, and all data has been encrypted each hop it made..
To figure out what random-number you used they would have to:
1. Figure out from what sources you got the data (or somehow be able to inject the data, how that now would be done since it's the client that decides where to fetch it from)
2. Figure out what order you merged the data received from multiple hosts.
3. Figure out what your local PRNG returned
The generation of random numbers is too important to be left to chance.
Ian Ameline
No, he's right about how RNG mathematics works. A collection of pseudo-randomly generated numbers if merged with the exclusive or operation (XOR) will be no weaker than the strongest single source of pseudo-randomness. On the other hand, it will not be stronger than the strongest single source of pseudo-randomness. The XOR merging is primarily done to make sure that the final number (the one actually used for the later cryptography) is as unpredictable as the least predictable source even when you have no idea which sources are predictable.
What you're thinking of is in the actual encryption stage, where every additional intentional key significantly decreases the security of the encryption, possibly with the creation of accidentally valid decryption keys as well.
That is the idea. Although entropy-pools are much more sophisticated than using simple xor for this.
Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
An entropy-source is not a point of attack, as long as it is not relied on exclusively. This is a threshold-thing. Get enough good entropy and you are good, no matter how much "bad" entropy you add as well. Fundamental entropy-pool design principle. You really are clueless as to how this works.
Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
My parents had gotten the conference calling feature with our new phone service, and my friends and I decided to try a pen and paper RPG session over the phone, instead of having to meet up at one person's house. We ran into an obstacle with the dice rolls. The players wanted to make their own dice rolls - they felt that their characters' fate should be in their hands and thus they should be the ones to roll the dice. I was GM and worried that players would cheat on the dice rolls if I couldn't see the dice.
At first I tried having them making a bunch of pre-rolls. I would write down the results, and could go down the list every time a roll was needed. They complained this wasn't interactive enough. Apparently part of the thrill of the game for them was knowing they needed to make a good roll when their character was in a bad situation. The pre-rolls destroyed that aspect of the game for them - no more tension as to whether or not the dice would save them.
After some more thought, I had them roll a die and tell me the result. Then I flipped a coin. Heads, their die roll stood. Tails I used 7 minus their die roll (we were playing Traveller, which only used d6), which inverted the result of their roll. They got the satisfaction of controlling their own fate by rolling their own dice, and I was satisfied there was no cheating going on.
Indeed. You go from one point of attack to a group, and _all_ have to be attacked successfully for the scheme to be compromised. As long as even one source delivers good entropy, you are secure with a distributed mechanism.
Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
Exactly. You add points of attack, but _all_ have to be compromised for the attack to succeed. If, for example, you have one of the compromised Intel CPUs with a bad RDRAND generator (not detectable except with in-dept analysis of the physical chip), then even one other system feeding you good entropy makes you secure again.
Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
What you're thinking of is in the actual encryption stage
Possibly. Talk about incompetence coupled with arrogance. Dunning-Kruger at work.
Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
Whenever something "mainstream" reports about random number generation, they get it wrong.
Not always. Okay, technically, yes, but practically, no:
When I see TV shows that explain the "ping-pong-ball"-type lotteries, where a fan blows a bunch of numbered ping-pong balls around until one "pops out," they do a decent job of stating the obvious: This is about as random as you can get, assuming the ping-pong balls are all equal enough and the air is moving around enough to make any initial conditions (which balls were where before the air started moving) that could be controlled by a human being trying to cheat the system irrelevant.
Of course, we all know that there are minuscule differences in each ping-pong ball and we all know that, except where quantum effects become noticeable, initial conditions DO matter. But the point is that, like the "butterfly effect," a change in initial conditions that is too small for a human cheater to control can radically alter the outcome.
The same goes for TV-explanations of "it's obviously random in every practical sense of the word" things like a fair coin flip, a fair draw of a card from a deck of cards that has been shuffled in a good-but-uncontrolled way many times (i.e. not a "pharaoh shuffle" or other "controlled" shuffle), and the like.
Knowledge is how to play a game, intelligence is how to win, wisdom is knowing what game to play.
Can two pseudo random numbers actually be combined to give a truly random number?
LOL, no.
I'm no mathematician, but I'm pretty sure there's no such thing as 'true random numbers'. I think the closest we can come is the Quantum Random Bit Generator from some years ago.
Are YOU using the TOOL, or is the TOOL using YOU? Think about it!
And you should care why
Yes, just like ALL philosophical questions, isn't that right?
We just need to get our job done and then EVERYTHING is just fine! We don't have to worry about anything else, ever. Curiosity killed the cat. Blinders on, job done, life good. This is how our ancestors went from common apes to homo sapiens. And anyway, what makes it doesn't keep it!
Or you could not be fucking retarded.
It may be tempting to go with the flow, but the tradeoff is the loss of your humanity: that which made us human, that which makes us human: true curiosity, imagination, and critical thought.
The truest definition of "random" is "originating from dimensions beyond comprehension", but the common feeling of what "random" means is covered in several layers of ignorance over this. The problem with that is that the ability of people to comprehend generally varies wildly and this ability is always being improved secretly. So it's really a useless idea, and as with all useless things that get used, it is very detrimental.
Everything comes from something else.
This idea is absolutely the central pillar of THE MEANING OF LIFE: uncovering the particular dimensions that give existence to the things that please your senses and consciousness and understanding them and then in turn uncovering the particular dimensions comprising those and so on. This is the origin of true power. Everything that everyone has ever done is an attempt to follow this principle.
Unfortunately when most people are unable, after thorough investigation, to justify particular aspects of themselves in terms of finer dimensions they rarely draw the conclusion that that aspect of themselves is false and detrimental. This is because their emotion overwhelms their reason. This phenomenon is caused by the lack of resources which make a human most human: generally; freedom. This is the origin of the lesser kind of power that dominates our lives today.
I mean who can really disagree with this? It's the truth that rams you in the face every day, but how often do you take it by the horns?
Nailed it. If you are an expert on 3 topics, and note that the media seems curiously incompetent when reporting on those three topics, but then flip the page to topics you are not as expert about- why would you assume the quality of the reporting got better? I remember reading a bunch of stories about video games back in the day, that got details wrong like crazy. Why would they get international politics correct if they can't even report on a fucking video game properly?
> On the other hand, it will not be stronger than the strongest single source of pseudo-randomness.
This seems very unintuitive. If I have a stream where every 5th bit is predictably zero, and a stream where every 7th bit is predictably one, then the second stream is the more random of the two. If I xor them together, then every 35th bit is predictably zero, but my resultant stream seems much more random than either of the two originally, right? I could predict 1/7th of the data originally, and now I can only predict 1/35th.
Hardware RNGs are like 50 bucks. Wikipedia even has a compare page, and you can go higher if you need to. It is unusual to need a shockingly large amount of random bits to begin with, after all.
https://en.wikipedia.org/wiki/...
So this TOR thing is nice, especially because computers baseline can generate psuedorandom numbers pretty darned quickly, and merging them is better than not merging them. But if you, personally, care, using a hardware RNG and having it seed and combine with your prng (such as Linux will do) seems like it is ideal.
No shit Sherlock. No devs of any RNG should be able to predict the output when it's in the deployed. And Tor devs is not a team of Avengers.
People keep talking about getting the "perfect" random number. Since when is the random number the weakest link in security?
Just throw some mouse, keyboard, microphone input into your pseudorandom number generator, and it's impractical to break.
I believe that every town should have their own entropy source. It should probably be an offline source. Where the citizens can come and obtain large amounts of entropy onto say a DVD or USB stick. This source should be protected by armed authorities. Our leaders and lawmakers should be working to empower individuals with high security and best practices to ensure individual privacy. This is the type of government I want.