4 ms·
It comes from all the posts by smart people and even the man page saying to use /dev/random if security matters. Without digging into the two's code, I also too
by nickpsecurity 11y ago
It comes from all the posts by smart people and even the man page saying to use /dev/random if security matters. Without digging into the two's code, I also took their word for it the few times I used it in my apps many years ago. Mostly just used CRNG's while dealing with entropy myself, though, so it was limited to a few designs & countering blocking. (Wasted effort in retrospect...) It took quite a while before someone said, "Hey, they go through the same CRNG." I'm like, WTF? Why have so many sources that should be knowledgeable about this been giving bad advice?
Anyway, a number of write-ups (esp Huhn's) and people like Ptacek have been clearing up the issue well. Meme should weaken over time. Might help to straight-up delete the bad claims from whatever sources people are seeing them, though, where possible. Man page comes to mind if it hasn't been updated.
- Tomte 11y agoThomas Pornin is relentlessly hunting down that meme on stackexchange. I guess Wikipedia would be the highest-profile source for most people. The English-speaking one mirrors the Linux man page, the German-speaking Wikipedia goes further and outright advises against /dev/urandom for "high requirements". This used to be even worse, though.
- nickpsecurity 11y agoYeah, the Wikipedia articles are a problem. I'll see what I can do when back in town on my main system.