Subject: Re: /dev/random, gpg and NetBSD 1.5
To: None <mjdowden@panix.com>
From: None <Havard.Eidnes@runit.sintef.no>
List: port-vax
Date: 12/13/2000 16:51:10
>      How do you configure /dev/random to work with NetBSD/VAX 1.5? Is
> it a kernel config issue or is there a sysctl entry (that's not in
> the man page)? gpg won't generate a key and gives the error message:
>
> gpg: fatal: can't open /dev/random: Device not configured
>
>      From the documentation, it sounds like it should just work right
> out of the box and configuring /dev/random isn't specifically
> mentioned. The GNUPG web site offers a random number generator (egd
> 0.8) for other OS's, but the *BSD's are listed as not needing it. I
> installed it, but gpg ignores it and still tries to use /dev/random.
> Apropos doesn't turn up anything about configuring /dev/random.
>      I'm wondering if its a VAX-port issue because it seems to work on i386.

The GENERIC kernel contains (at the end)

pseudo-device   rnd                     # /dev/random and in-kernel generator

and that should be everything required to get the device driver
compiled into the kernel.

However, it appears that none of the device drivers on the vax
have been instrumented to inject entropy into the randomness
pool, at least I find no bits on the NetBSD-1.5_BETA2 vax system
I have access to, so all the entropy you get from /dev/random
will be pseudo-random bits.  (Someone should probably fix that...)

- H=E5vard