[Development] QRandomGenerator and boot times
Giuseppe D'Angelo
giuseppe.dangelo at kdab.com
Thu Sep 14 17:18:05 CEST 2017
Il 14/09/2017 17:01, Thiago Macieira ha scritto:
>
>> 2. Add "rng-tools" to the image for inputting entropy to the kernel
>> - Speeds up initialization of nonblocking pool
>> - On devices with HW random generator, this adds real entropy to the kernel
>> pool - On devices without HW random generator, this adds bad entropy from
>> /dev/urandom to the kernel pool
> Huh? Adding entropy from /dev/urandom back to /dev/urandom? This is worse than
> the "rob Peter to pay Paul" - you want to rob Peter to pay Peter.
It's a myth of some crazy tutorials and broken default configurations
found on the internet. Don't do that!
By the way, it's strange that the entropy is emptied just after boot
(which is when there should be plenty of I/O to refill the entropy pool).
Cheers,
--
Giuseppe D'Angelo | giuseppe.dangelo at kdab.com | Senior Software Engineer
KDAB (UK) Ltd., a KDAB Group company | Tel: UK +44-1625-809908
KDAB - Qt, C++ and OpenGL Experts
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4007 bytes
Desc: Firma crittografica S/MIME
URL: <http://lists.qt-project.org/pipermail/development/attachments/20170914/13e62754/attachment.bin>
More information about the Development
mailing list