jirka-h / haveged

Entropy daemon ![Continuous Integration](https://github.com/jirka-h/haveged/workflows/Continuous%20Integration/badge.svg)
GNU General Public License v3.0
269 stars 33 forks source link

haveged delay in entropy. Intermittent but frequent. #80

Open AnishEllore opened 8 months ago

AnishEllore commented 8 months ago

After starting haveged how much time should we wait before we can get success in getrandom(2)?

I'm starting haveged as part of a go init process but I've seen cases where I'm not able to generate random numbers even after two minutes from haveged start. Other notes: haveged version: 1.9.13 Ref lib I'm using to generate random numbers: https://github.com/u-root/u-root/blob/main/pkg/rand/random_linux.go#L42