Menu

#15 Add TPM RNG support to rng-tools

closed
None
5
2010-07-04
2008-11-11
No

The TPM has a hardware random number generator that could be used as a source of entropy in rng-tools.

Discussion

  • Sandeep K Shandilya

    I have a patch that achieves this but needs to be reviewed.

     
  • Sandeep K Shandilya

    Patch for review.

    File Added: rngd_tpm_support.patch

     
  • Sandeep K Shandilya

    Patch that achieves this.

     
  • Nobody/Anonymous

    Hello jeff

    Please review this patch. This patch uses the random number generator inside the tpm as an entropy source in addition to the already existing sources.
    The ID of the patch is 2261605
    http://sourceforge.net/tracker/?func=detail&aid=2261605&group_id=3242&atid=303242

    regards,
    sandeep.

     
  • Nobody/Anonymous

    temperatures extinctions stricter until variability

     
  • Krzysztof Pawlik

    One major flaw: it should default to not using TPM, right now it's the opposite: it defaults to using it.

     
  • Nobody/Anonymous

    I disagree. If the hardware is present, enabled by BIOS, and capable of being used for this purpose, it should by default do so. People with specific concerns may disable this capability in a number of ways, but it should not be encumbant on the average user, those with no concerns about using the TPM, to recognize that it is present and take extra steps to enable it.

     
  • Matt Domsch

    Matt Domsch - 2009-11-23

    The previous comment was mine. -Matt

     
  • Krzysztof Pawlik

    Which device? /dev/tpm0, /dev/tpm1, /dev/tpm2... ?? It requires configuration anyway.

     
  • Sandeep K Shandilya

    currently it is /dev/tpm0, If /dev/tmp0 fails we dont use the tpm. There is no configuration required.

     
  • Krzysztof Pawlik

    I think you've just made my point clear: it needs configuration.

     
  • Matt Domsch

    Matt Domsch - 2009-11-24

    How many systems have you seen with multiple TPMs present? Personally, I've seen none.

     
  • Nobody/Anonymous

    why do we still not have this cool functionality? Many systems ship with a TPM with a good fast RNG. These systems run out of entropy completely needlessly today.

     
  • Kacper Wysocki

    Kacper Wysocki - 2010-01-11

    I agree, we need accelerated crypto

     
  • Jeff Garzik

    Jeff Garzik - 2010-07-04
    • assigned_to: nobody --> jgarzik
    • status: open --> closed
     

Log in to post a comment.