by mehrdadn · 7y ago · 0 comments
To a first approximation:
* SHA256( cat /var/lib/randomseed || ifconfig || date -u ) > /dev/urandom
will get any decent stream-cipher-based PRNG going.
Each machine will have a unique MAC address, so that's 48 bits right off the bat, even if randomseed is identical and every machine is booted at the exact same second.
If the system is not communicating with other systems... what attack tree are you actually worried about if it is inaccessible?
I would also be curious to know which virtualization environments generate duplicate MAC addresses over (say) dozens of systems?
Are you telling me there is not even, say, 8 bits' worth of entropy credit in there? (Especially when hashed with other data?)
Remember: the context of this discussion is VMs (and not embedded systems without a battery-backed RTC).