|
|
Subscribe / Log in / New account

Fixing getrandom()

Fixing getrandom()

Posted Oct 4, 2019 7:21 UTC (Fri) by kmeyer (subscriber, #50720)
In reply to: Fixing getrandom() by josh
Parent article: Fixing getrandom()

It doesn't fix the issue for live systems (are there many of those without RDRAND?), but for installed initial-boot systems: why not have the installer write out a random seed and optionally also sshd host keys?


to post comments

Fixing getrandom()

Posted Oct 4, 2019 9:23 UTC (Fri) by zdzichu (subscriber, #17118) [Link]

Because host keys need to be unique. Installer is used once to create a template. This template is then used number of times to create virtual machines.
Template cannot contain pregenerated host keys, because every VM would have the same key.
Using installer everytime when creating new VM is not feasible, installation process takes too much time. Creating new VM is something that should take no more than few seconds.


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds