| Except if /dev/urandom is using a hardware based random number generator, then you have to trust that the hardware hasn't received some NSA alterations at some point during the design. The NSA did design a random number generator that likely had a backdoor in it:
https://en.wikipedia.org/wiki/Dual_EC_DRBG#Controversy). Here's Bruce Schneier talking about it:
https://www.schneier.com/blog/archives/2007/12/dual_ec_drbg_... Also it's in Windows (although it's not used by default but userspace programs could rely on it).
https://www.schneier.com/blog/archives/2007/12/dual_ec_drbg_... It would be possible for the NSA to go to Intel and get them to put in something in their random number generator that would let them to basically break the encryption by massively reducing the keyspace if they have the secret key. |
(This is one of those times where I regret HN that has twin interests in software security as an engineering science and software security as a political statement.)