• Feeding entropy to /dev/random

    From SAB@21:1/5 to All on Tue Apr 16 02:49:12 2019
    Hello.

    I was wondering if there is an easy way to feed entropy to /dev/random or arc4random() on OpenBSD. (My understanding is that they both use same
    entropy spool.)

    I did some research and found this nice NetBSD man page:

    <https://man.openbsd.org/NetBSD-7.0.1/rnd.4>

    It mentions rndctl command, which, unfortunately, does not exist in
    OpenBSD.

    The RNDADDDATA ioctl is also doing exactly what I was thinking of but
    only once per boot (why?)

    Is there anything similar in OpenBSD?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Christian Weisgerber@21:1/5 to SAB on Tue Apr 16 11:04:16 2019
    On 2019-04-16, SAB <sab@no.ne> wrote:

    I was wondering if there is an easy way to feed entropy to /dev/random or

    Yes, you can write to /dev/random. /etc/rc and the installer do
    so.

    --
    Christian "naddy" Weisgerber naddy@mips.inka.de

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)