3 ms·
> The problem is immediately after boot before anything has seeded the entropy pool. With getrandom() on Linux it will block if you don't set GRND_NONBLOCK and
by elithrar 11y ago
> The problem is immediately after boot before anything has seeded the entropy pool.
With getrandom() on Linux it will block if you don't set GRND_NONBLOCK and the pool isn't initialized - http://man7.org/linux/man-pages/man2/getrandom.2.html http://man7.org/linux/man-pages/man2/getrandom.2.html - the desired behaviour.