Re: getrandom and getentropy

2020-05-14 Thread Joerg Sonnenberger
On Thu, May 14, 2020 at 08:11:32PM +0300, Andreas Gustafsson wrote: > Joerg Sonnenberger wrote: > > On Thu, May 14, 2020 at 05:29:39PM +0300, Andreas Gustafsson wrote: > > > Joerg Sonnenberger wrote: > > > > > > > There's nothing wrong with the general idea of entropy estimation > > > > > > > as >

Re: getrandom and getentropy

2020-05-14 Thread Andreas Gustafsson
Joerg Sonnenberger wrote: > On Thu, May 14, 2020 at 05:29:39PM +0300, Andreas Gustafsson wrote: > > Joerg Sonnenberger wrote: > > > > > > There's nothing wrong with the general idea of entropy estimation as > > > > > > implemented in NetBSD-current. If you run -current on your > > > > > > hypothe

Re: getrandom and getentropy

2020-05-14 Thread Joerg Sonnenberger
On Thu, May 14, 2020 at 05:29:39PM +0300, Andreas Gustafsson wrote: > Joerg Sonnenberger wrote: > > > > > There's nothing wrong with the general idea of entropy estimation as > > > > > implemented in NetBSD-current. If you run -current on your > > > > > hypothetical > > > > > emulator, it will ca

Re: getrandom and getentropy

2020-05-14 Thread Andreas Gustafsson
Joerg Sonnenberger wrote: > > > > There's nothing wrong with the general idea of entropy estimation as > > > > implemented in NetBSD-current. If you run -current on your hypothetical > > > > emulator, it will calculate an entropy estimate of zero, and > > > > /dev/random will block, as it should.

Re: getrandom and getentropy

2020-05-14 Thread Martin Husemann
On Thu, May 14, 2020 at 03:12:13PM +0200, Joerg Sonnenberger wrote: > I'd strongly argue that the only category where it really matters > potentially are long term key generators. I would at the same time > consider creating the ssh host keys as part of sysinst, but that's > already setting up the

Re: getrandom and getentropy

2020-05-14 Thread Joerg Sonnenberger
On Thu, May 14, 2020 at 10:35:48AM +0300, Andreas Gustafsson wrote: > Joerg Sonnenberger wrote: > > > There's nothing wrong with the general idea of entropy estimation as > > > implemented in NetBSD-current. If you run -current on your hypothetical > > > emulator, it will calculate an entropy esti

Re: getrandom and getentropy

2020-05-14 Thread Andreas Gustafsson
Joerg Sonnenberger wrote: > > There's nothing wrong with the general idea of entropy estimation as > > implemented in NetBSD-current. If you run -current on your hypothetical > > emulator, it will calculate an entropy estimate of zero, and > > /dev/random will block, as it should. The question we