Slashdot Mirror


FreeBSD-Current Random Number Generator Broken

First time accepted submitter bobo the hobo writesThe FreeBSD random number has been discovered to be generating possibly predictable SSH keys and SSL certificates for months. Time to regenerate your keys and certs if using FreeBSD-Current. A message to the freebsd-current mailing list reads in part: "If you are running a current kernel r273872 or later, please upgrade your kernel to r278907 or later immediately and regenerate keys. I discovered an issue where the new framework code was not calling randomdev_init_reader, which means that read_random(9) was not returning good random data. read_random(9) is used by arc4random(9) which is the primary method that arc4random(3) is seeded from."

62 of 105 comments (clear)

  1. Cui bono? by Anonymous Coward · · Score: 2

    I discovered an issue where the new framework code was not calling randomdev_init_reader

    So who was responsible for introducing that change? Let's smoke out the mole.

    1. Re:Cui bono? by MrBingoBoingo · · Score: 3, Interesting

      This. So much this. When these regressions happen there are people behind them. The great value of a Linus or a Theo is shaming this people out the door. At least this was caught in -Current and not -Stable. This incident appears to be at least as much a social engineering attack as a code quality issue.

  2. Re:But FreeBSD is perfect! by Anonymous Coward · · Score: 3, Interesting

    I've heard the same things said. However, and I don't say this in jest, that while no security in any OS is perfect, OpenBSD comes the closest due to their audits. Hence, out of the BSDs I do use and endorse, it's OpenBSD.

    Some dislike Theo, but he's intensely good at running a tight ship, and since 1999 when I first started using OpenBSD for security-based boxes, I've never had an issue.

  3. Newbish question here.. by wbr1 · · Score: 1

    Wouldn't it make more sense to patch the kernel to make the correct function calls then update to a kernel with more changes that may not be tested/stable for a given usage scenario?

    --
    Silence is a state of mime.
    1. Re:Newbish question here.. by bsdasym · · Score: 3, Informative

      No, you should be on -STABLE or at least RELENG_? if you only want security fixes. -RELEASE is just that, the release version, no updates.

    2. Re:Newbish question here.. by DarkHelmet433 · · Score: 5, Informative

      The bug was in the unreleased FreeBSD-11 work-in-progress developer tree.

      If you are running an actual release, or one of the stable branches, you are not affected.

      The main cause for concern is if you are generating keys in some form on the developer tree.

    3. Re:Newbish question here.. by wbr1 · · Score: 1

      Not having used and BSD for much, I did not know the conventions. Thanks for the clarification!

      --
      Silence is a state of mime.
    4. Re:Newbish question here.. by fisted · · Score: 3, Informative

      No, and who mods this "Informative"?
      Both -CURRENT and -STABLE are development branches.

      -RELEASE is meant for production and of course gets supplied with security relevant fixes (then referred to as patchlevels).

      But yes, please go on educating people about things you don't know jack about.

  4. Re:But FreeBSD is perfect! by Anonymous Coward · · Score: 4, Insightful

    since 1999 when I first started using OpenBSD for security-based boxes, I've never had an issue.

    That you know about.

  5. I guess this is a problem by Anonymous Coward · · Score: 2, Funny

    According to many people on this site almost every Linux user have now switched to FreeBSD because of Systemd.

  6. There are/may be worse problems with -current by mi · · Score: 4, Informative

    The -current is not a release — it is the trunk of the development tree. Using for anything important — such as data, that may be worthwhile enough for your enemies to hack for — is silly. Far worse bugs may exist in -current — or be introduced at any point.

    Stick to releases — or one of the -stable branches — for anything, that's not about working on FreeBSD itself.

    --
    In Soviet Washington the swamp drains you.
  7. Non-news.... Bug is in CURRENT not STABLE by tomxor · · Score: 5, Insightful

    Bleeding edge software has bugs?? what

    1. Re:Non-news.... Bug is in CURRENT not STABLE by bobo+the+hobo · · Score: 1

      Bleeding edge software has bugs?? what

      Many people run CURRENT, so if they put their pubkeys on servers they could possibly be guessable. Try reading the article next time.

    2. Re:Non-news.... Bug is in CURRENT not STABLE by Anonymous Coward · · Score: 1

      What!!! you don't regen keys everyday OMFG, what is the world coming to, AHHHHHHHHHHHHHHHHHHHHHH!

    3. Re:Non-news.... Bug is in CURRENT not STABLE by bobo+the+hobo · · Score: 1

      What!!! you don't regen keys everyday OMFG, what is the world coming to, AHHHHHHHHHHHHHHHHHHHHHH!

      It's been a problem for months, I'm sure some people have generated keys in that time. Are you trolling?

    4. Re:Non-news.... Bug is in CURRENT not STABLE by tomxor · · Score: 2

      Bleeding edge software has bugs?? what

      Many people run CURRENT, so if they put their pubkeys on servers they could possibly be guessable. Try reading the article next time.

      Yes they do, yes they could, no it's not news, it's on the current branch... In true BSD style i'm going to say RTFM: https://www.freebsd.org/doc/en... Current is not intended for production, end of.

    5. Re:Non-news.... Bug is in CURRENT not STABLE by bobo+the+hobo · · Score: 1

      I'm not saying it's running on production. I'm saying the keys made by people running current are.

    6. Re:Non-news.... Bug is in CURRENT not STABLE by bobo+the+hobo · · Score: 1

      What article... did you even follow the link? don't talk shit, current is essentially beta, lots of people run beta, but you don't use it for production... BSD specifically tells you this when using current.

      Yeah I submitted the article. I'm not saying it's running on production. I'm saying the keys made by people running current are.

    7. Re:Non-news.... Bug is in CURRENT not STABLE by ShanghaiBill · · Score: 2

      current is essentially beta, lots of people run beta

      Actually, current is alpha. Release candidates are beta. "Beta" means it is done, except for testing, and, while there may be bug fixes, there will be no new features. That is not what "current" is. It is under active development.

    8. Re:Non-news.... Bug is in CURRENT not STABLE by Anonymous Coward · · Score: 1

      Well then, you are a ignorant fool. Everybody using FreeBSD should know CURRENT is the development (alpha) code line. Running alpha code means following the development mailing lists and keeping up with SCM submissions. If you run that in a non-development environment you need to find another career, maybe basket weaving is more appropriate for your intelligence level.

      There have been lots of broken things in CURRENT, including filesystems. If you base anything on that code, such as build filesystems or generate keys, and carry that forward into a production system, you are a fool. We don't do this in a professional software development process; systems are wiped and we start fresh.

      This article is click bait on Slasddot, since this site is Linux centric and most people don't have a clue about FreeBSD development.

  8. RE:Random Number Generator Broken by Anonymous Coward · · Score: 2, Insightful

    All of these problems will be solved when systemd integrates Rand

  9. Re:But FreeBSD is perfect! by EmeraldBot · · Score: 2, Insightful

    FreeBSD is the new Linux. Full of religious fan boys who act like it was written by God. This old tired line of "Linux is immune to security issues" is now more commonly used with FreeBSD (by idiots).

    You know who started the original BSD? This guy did. He also created the original vi editor, was the creator of the modern day TCP/IP stack, and had a huge hand in the creation of Java. What, praytell, have you done?

    --
    "Set a man a fire, he'll be warm for the rest of the night. Set a man afire, he'll be warm for the rest of his life."
  10. That explains hearthstone! by Anonymous Coward · · Score: 2, Funny

    Why do I get both my 7 mana-cost cards on my first two draws?

    Why does the best card in my hand always wind up being the card that gets discarded on random discards?

    Why is the board-clear that I need always at position 30 in the draw pile?

    It is because they built their server backend on FreeBSD!

    It is all so clear now.

    1. Re:That explains hearthstone! by idontgno · · Score: 1

      "Coming to terms with variance" == "learning to accept that the RNG Gods hate you"

      --
      Welcome to the Panopticon. Used to be a prison, now it's your home.
    2. Re:That explains hearthstone! by ultranova · · Score: 1

      RNG Gods hate you

      Just make an offering of entropy and they'll be unpredictable again.

      --

      Forget magic. Any technology distinguishable from divine power is insufficiently advanced.

  11. Re:Why is someone fiddling with rand number gen? by Improv · · Score: 1

    It'd be more interesting to ask how this passed code review. Expecting code to remain static out of a fear of touching it is unreasonable. Expecting a solid code review process, by contrast, is very reasonable.

    --
    For every problem, there is at least one solution that is simple, neat, and wrong.
  12. How bad was the bug? by Nonesuch · · Score: 5, Funny

    This seems like an odd bug to have happen, how bad were the effects? Just 'weaker' randomness, or without randomdev_init_reader do the random routines just return the same series of pseudorandom digits every time?

    Also, obligatory Dilbert reference

    1. Re:How bad was the bug? by danlip · · Score: 1
  13. Re:But FreeBSD is perfect! by Yomers · · Score: 2

    I just checked on openbsd.org, and I loved the FAQ section!
    4.13 - Common installation problems
    4.13.1 - My Compaq only recognizes 16M RAM
    4.13.2 - My i386 won't boot after install ...

  14. "Random" by sexconker · · Score: 2

    When blackboxed, even "return 5" is indistinguishable from a true random number generator.
    People want noisy numbers, not random numbers. Which is a good thing, because a true random number generator will never exist.

  15. But it doesn't have SystemD by Billly+Gates · · Score: 2, Funny

    So who cares??

  16. Comment removed by account_deleted · · Score: 1

    Comment removed based on user account deletion

  17. Living in a state of sin by Beeftopia · · Score: 1

    "Anyone attempting to generate random numbers by deterministic means is, of course, living in a state of sin." -- John von Neumann

  18. Re:An OS RNG? by spauldo · · Score: 1

    /dev/random has been part of UNIX for ages. It's part of the system, and expected to be there. The kernel developers take it seriously, because most UNIX software that needs random numbers uses it.

    If you don't trust it, that's fine, but pretty much all UNIX software uses it - and UNIX runs the 'net. Certificates are generated using it. If you want to avoid it, install Windows and unplug your internet connection.

    --
    Those who can't do, teach. Those who can't teach either, do tech support.
  19. Alternate strategy... by damn_registrars · · Score: 2, Informative

    Just don't use keys for remote ssh logins. I know, keys are supposed to be all that any more. But based on my experience fending off billions of script kiddy attempts from my home system, it appears they aren't worth the effort and may even be counter productive.

    I say this because my home server faces the world and allows anyone who wants to, to make an attempt to login via ssh on port 22. You may say this is completely insane, but my logs suggest it isn't that bad. The overwhelming majority of all attempts on my system attempt to come straight in as root. As everyone knows, you can very easily disable root login in your sshd.conf file which leaves the person on the other end completely incapable of knowing whether or not they ever got your root password right as the response is the same.

    The end result is they make their 10,000+ attempts in a couple hours, then leave and never come back. They might take a few parting shots at other well known account names but they won't get in that way either.

    --
    Damn_registrars has no butt-hole. Damn_registrars has no use for a butt-hole.
    1. Re:Alternate strategy... by fisted · · Score: 4, Insightful

      my home server [runs public facing sshd] on port 22. You may say this is completely insane.

      Gasp. How extremely uncommon.

      Just don't use keys for remote ssh logins.

      What? Why?

      But based on my experience [...] it appears they [...] may even be counter productive.

      And that is why exactly? None of your post explains that or seems to have anything to do with key-based login at all.

      As everyone knows, you can very easily disable root login in your sshd.conf file which leaves the person on the other end completely incapable of knowing whether or not they ever got your root password right as the response is the same.

      As happens when key-based logins are used. Your point being?

    2. Re:Alternate strategy... by ColaMan · · Score: 4, Informative

      Sweet Jesus, at least install Fail2Ban and block an IP for 24 hours after 3 failed attempts.

      --

      You are in a twisty maze of processor lines, all alike.
      There is a lot of hype here.
    3. Re:Alternate strategy... by Anonymous Coward · · Score: 1

      I prefer sshguard. Way faster and simpler to use.

  20. Re:An OS RNG? by Bengie · · Score: 1

    The OS is responsible for being a reliable source of trusted entropy. There are many ways to create strong pseudo-random numbers, some are faster than others, but all can be strong. Random numbers are a complex issue that should be implemented once and implemented well. Doing random in user land is a horrible idea and has been a reoccurring issue over the years. You also run the issue that software may not get upgraded, but the OS can. Single point of responsibility and all that jazz.

    Kind of like how it is recommended not to implement your own version of TCP and let the OS handle it. Could you imagine if random software implemented their own network stacks?

  21. Re:An OS RNG? by TechyImmigrant · · Score: 1

    >The OS is responsible for being a reliable source of trusted entropy.

    Yet it cannot possibly be that. The OS has no entropy. It is not a source of entropy. Physical processes are sources of entropy. The OS might be able to demultiplex a source of physical entropy to share it out amongst multiple processes, but as has happened time and time again, we've seen operating systems fail to do exactly that because the OS has no knowledge of whether it's inputs are entropic, and when they are not, you get data that is highly correlated between systems.

    The whole set up, where we think the OS will solve a problem it cannot solve in the general case, is brittle and fails frequently. A user land program, invoked by a user, is in no better or worse situation when it comes to doing the right thing, except that the user can run code that is particular to the environment, whereas the OS is necessarily written to work on all platforms, including fully synchronous embedded platforms with zero entropy until the ethernet is up.

    --
    I should use this sig to advertise my book ISBN-13 : 978-1501515132.
  22. Re:An OS RNG? by TechyImmigrant · · Score: 1

    /dev/random blocks on most unix derived operating systems unless you go to some measures to feed the kernel with a continuous supply of data claiming to be entropic.

    Certificates generated with software that trusts /dev/[u]random is what led us to the "Mining your Ps and Qs" problem. Google it if you aren't familiar.

    Even if you have a good source of entropy on your platform, the odds are high that neither the OS nor RNGd will use it. On some popular Linux distributions I've used, RNGd fails silently at boot. You have to go and check if you need it to be there. I have a massive bloody linux server farm at my corporation and not one of them has RNGd running and /dev/random blocks after a few bytes. I assume this is normal. It is a symptom of the messed up model we have where we trust software that is not in a position to do what we ask of it.

    --
    I should use this sig to advertise my book ISBN-13 : 978-1501515132.
  23. Re:Is FreeBSD dying? by FatdogHaiku · · Score: 3, Funny

    Netcraft Confirms FreeBSD is dying

    Facebook is too confusing!
    Don't you have a Twitter link to share?

    --
    You have the right to remain sentient. If you give up the right to remain sentient, you will be elected to public office
  24. Re:Random Number Generator Broken by dbIII · · Score: 1

    All of these problems will be solved when systemd integrates Rand

    That seems like a perfectly sensible step on their way to world domination.
    http://en.wikipedia.org/wiki/R...

  25. Re: An OS RNG? by TechyImmigrant · · Score: 1

    waaaay off base. hardware is far more difficult to audit (tools that cost hundreds of thousands) vs software. openbsd does things right here. they use hardware as an additional (but not the only) source of entropy.

    Hardware, or more accurately, the physical world is the only source of entropy. Software is incapable of making entropy. It is deterministic. It can run entropy extraction algorithms to turn entropic data from physical sourced into uniform, cryptographically secure random numbers, but the entropy out of an extractor is strictly less than or equal to the entropy in. So software cannot itself be a source of entropy.

    This isn't an issue of off-base/on-base. It's an issue of fact.

    --
    I should use this sig to advertise my book ISBN-13 : 978-1501515132.
  26. Field day by ZorkZero · · Score: 1

    I have never seen a bunch of Linux users get so excited over a bug in a development branch before.

  27. Re:An OS RNG? by Anonymous Coward · · Score: 1

    And yet, on many systems running many different operating systems, the OS is able to do precisely that: provide a reliable source of entropy. This is of course because many channels which only the operating system can watch do contain a lot of entropy and the operating system is able to mix the data up to create a nice random number, better than applications can. An implementation bug in a non-release version of FreeBSD does not disprove that. Furthermore, it is a given that in modern times random numbers are necessary and functionality that is needed by a lot of different applications should be provided by the OS. Even if what you said were true, saying ‘just shove it down to userspace’ doesn't solve the problem; you should be pushing for better RNGs in OSs instead.

  28. Re:Random Number Generator Broken by gweihir · · Score: 1

    What, it has not done that yet?

    --
    Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
  29. Re:Why is someone fiddling with rand number gen? by gweihir · · Score: 1

    This is a developer-snapshot, not any release quality one. As some developers are running bleeding-edge kernels, it is right to notify them, but no normal users are affected.

    The question why this code was touched is a valid one though, as is the question who touched it.

    --
    Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
  30. Re:Why is someone fiddling with rand number gen? by gweihir · · Score: 1

    It did not. This is a developer snapshot.

    --
    Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
  31. This is a DEVDELOPER SNAPSHOT by gweihir · · Score: 2

    As apparently nobody bothered to find out, this is a bleeding-edge developer snapshot, not anything that was in any way "released", hence no normal users are affected.

    I do have two questions though:
    1. Why was that code touched in the first place?
    2. Who touched that code and broke it?

    It may be simple incompetence (it usually is), but it may also be a mole in the FreeBSD project. It should be ascertained that the person that did this did so in good faith. Still, some level of shaming is required even then to make people pay attention when they touch security-critical code and keep their fingers off it unless they have the required level of skill and understanding and there is actually a real need to touch that code.

    --
    Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
    1. Re:This is a DEVDELOPER SNAPSHOT by gweihir · · Score: 1

      Well, that is a plausible explanation. And it was caught in time.

      --
      Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
    2. Re:This is a DEVDELOPER SNAPSHOT by Celarent+Darii · · Score: 1

      The "code was touched" in order to bring some new features in. Here is the commit for that branch to /dev/random r 273872

      This is the much-discussed major upgrade to the random(4) device, known to you all as /dev/random.

      This code has had an extensive rewrite and a good series of reviews, both by the author and other parties. This means a lot of code has been simplified. Pluggable structures for high-rate entropy generators are available, and it is most definitely not the case that /dev/random can be driven by only a hardware souce any more. This has been designed out of the device. Hardware sources are stirred into the CSPRNG (Yarrow, Fortuna) like any other entropy source. Pluggable modules may be written by third parties for additional sources.

      The harvesting structures and consequently the locking have been simplified. Entropy harvesting is done in a more general way (the documentation for this will follow). There is some GREAT entropy to be had in the UMA allocator, but it is disabled for now as messing with that is likely to annoy many people.

      The venerable (but effective) Yarrow algorithm, which is no longer supported by its authors now has an alternative, Fortuna. For now, Yarrow is retained as the default algorithm, but this may be changed using a kernel option. It is intended to make Fortuna the default algorithm for 11.0. Interested parties are encouraged to read ISBN 978-0-470-47424-2 "Cryptography Engineering" By Ferguson, Schneier and Kohno for Fortuna's gory details. Heck, read it anyway.

      Many thanks to Arthur Mesh who did early grunt work, and who got caught in the crossfire rather more than he deserved to.

      My thanks also to folks who helped me thresh this out on whiteboards and in the odd "Hallway track", or otherwise.

      My Nomex pants are on. Let the feedback commence!

      You can see the list of those who reviewed and commited the code in the link. They are all longtime contributors.

      The problem was:

      When the new random adaptor code was brought it in r273872, a call to
      randomdev_init_reader to change read_random over to the newly installed
      adaptor was missed. This means both read_random and arc4random (seeded
      from read_random) were not returning very random data. This also
      effects userland arc4random as it is seeded from kernel arc4random.

      So there was a problem was that the new adaptor was not 'retro-fitted' to the existing code. A simple thing to miss - I've done this many times in refactoring code. The generated was getting new seeds from the old function and not the new one.

    3. Re:This is a DEVDELOPER SNAPSHOT by gweihir · · Score: 1

      Excellent. This is a completely satisfactory explanation.

      I still hope the people involved have learned to be extra careful with /dev/urandom, as it can break so very many things in ways that are not readily obvious. Unfortunately, problems with CPRNGs that break the security of applications and systems have a long history and people working on these need to be reminded time and again of that.

      Anyways, thanks for the info!

      --
      Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
  32. Shhhhhhhh by tomxor · · Score: 2

    This guy is the low hanging fruit that keeps all those automated attacks from China from developing something more sophisticated :P Not that i'm suggesting security through obscurity is the only way or anything... just an extra line of Darwinian defence.

  33. My D&D Characters all Wrong?! by tmjva · · Score: 1

    Do you mean to say that the tool behind the die roller for my D&D characters is all wrong?

    I have to re-roll my characters all over again!

    --
    Tracy Johnson
    Old fashioned text games hosted below:
    http://empire.openmpe.com/
    BT
  34. Re:An OS RNG? by TechyImmigrant · · Score: 1

    >And yet, on many systems running many different operating systems, the OS is able to do precisely that:

    You should be concerned about the situations where it doesn't work, which are probably in the majority of Linux deployments. The people taking advantage of low entropy crypto systems don't just focus on the ones that work.

    FreeBSD isn't doing the 'wrong' thing. It's doing all it can in a bad situation. However my application code can know where to go look for well defined sources of entropy and use it appropriately. We have the math on extractor theory. We have the math on secure PRNGs. The algorithms are easy. The sourcing of the entropy is the problem to solve and OSs demonstrably do it in a way that doesn't work on a wide spectrum of deployments.

    >you should be pushing for better RNGs in OSs instead.

    No. I'm pushing for better RNGs in hardware, which I can reasonably claim to have done something about.

    --
    I should use this sig to advertise my book ISBN-13 : 978-1501515132.
  35. Re:An OS RNG? by TechyImmigrant · · Score: 1

    >whether dedicated hardware generators

    Those would be the ones that cell phone chip companies buy from IP providers right? Like this one..
    http://www.discretix.com/accel...

    Go look at the the picture. It's a ring oscillator that is sub sampled, to turn the accumulated phase noise of the RO into random bits. The process introduces serial correlation. This is normal.

    Then it goes into a "Von-Neumann" whitener. This is a bias correction algorithm. Put in biased bits, get out unbiased bits. Lovely, it doesn't say anything about auto-correlation. The link to the Von Neumann paper is broken, but the Yuval Peres paper is just as illuminating. I quote..

    1. Introduction. A source produces independent biased random bits {x_sub_i}^n,i=1 with p = Pr[x_sub_i = 0] ne 1/2, q = Pr[x_sub_i = 1].

    So the Von Neumann balancer and the iterated Yuval Peres version have undefined properties for dependent inputs. They require independent inputs. But that isn't what the circuit is generating. They're most definitely auto-correlated.

    However I've done the test and I can confirm that a VN whitener will make the result worse. not better when you put auto-correlated data into it.

    This is how most of the published IP designs work. They are all wrong by design. /dev/random isn't magic. It needs its input to be entropic. Synchronous embedded systems regularly don't meet this requirement. PCs regularly don't meet this requirement early in the boot cycle.

    Good RNGs exist. I've designed a few. Others have designed many. But bad RNGs and naive kernel code outnumbers the good ones.

       

    --
    I should use this sig to advertise my book ISBN-13 : 978-1501515132.
  36. Re:An OS RNG? by TechyImmigrant · · Score: 1

    >The exceptions are newer CPU instructions which can be used directly from user-land processes.

    I may have an unusual level of familiarity with those.

    --
    I should use this sig to advertise my book ISBN-13 : 978-1501515132.
  37. Re:An OS RNG? by Bengie · · Score: 1

    where we think the OS will solve a problem it cannot solve in the general case, is brittle and fails frequently

    If your OS is so bad that you don't trust it's entropy, then STOP using that OS. If you can't, then sucks to be you, it's a crap OS and the programmers should die in a fire.

  38. Re:An OS RNG? by Bengie · · Score: 1

    No one trusts hardware anymore. It can be used to mix with the entropy pool, but it should never be used directly.

  39. Re:An OS RNG? by spauldo · · Score: 1

    Sure, you've got good points about failures in /dev/random. Surprise, there have been problems - just like there's been problems with pretty much all code everywhere at some time.

    But what exactly do you expect kernel developers to do? /dev/random exists, and a lot of stuff uses it. It's expected to be there. Kernel developers (especially BSD developers, who tend to view UNIX much more conservatively than Linux developers) are going to make sure that the service is available and as bug-free as possible. You might not like /dev/random, but it's not going to go away any time soon.

    I don't use Linux for anything important (I'm a BSD guy these days - Linux is for desktops in my opinion), so I don't know what to tell you about rngd. I have noticed that a lot of "system" level stuff seems to be on the backburner compared to nifty convenience features. If you need a working rngd, it's up to you to find a working configuration and push it to your servers. Treat it like ntpd or any other service that requires site-specific configuration. I do know that I would expect something like random number generation to be working flawlessly in BSD, but Linux today... I can't say I'm surprised.

    --
    Those who can't do, teach. Those who can't teach either, do tech support.
  40. Re:An OS RNG? by TechyImmigrant · · Score: 1

    The entropy is coming from nothing but hardware. Your software is running on the hardware. You typed in that post using hardware. If you don't trust the hardware, why do you think an entropy pool implemented in software will save you?

    --
    I should use this sig to advertise my book ISBN-13 : 978-1501515132.