Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Oct 2003 17:23:51 -0600
From:      Greg Lewis <glewis@eyesbeyond.com>
To:        Daniel Fisher <daniel.fisher@vt.edu>
Cc:        freebsd-java@freebsd.org
Subject:   Re: file:/dev/random generated exception: null
Message-ID:  <20031020232351.GA58090@misty.eyesbeyond.com>
In-Reply-To: <20031020110839.54f1f3c8.daniel.fisher@vt.edu>
References:  <3F93E062.3030401@fork.pl> <20031020110839.54f1f3c8.daniel.fisher@vt.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Oct 20, 2003 at 11:08:39AM -0400, Daniel Fisher wrote:
> Looks like you ran out of random bytes in /dev/random, which is not
> uncommon.
> If you want to avoid this error use /dev/urandom.
> -Djava.security.egd=file:/dev/urandom

However, doing so will get you much lower quality random numbers.
Depending on how much you value security this may not be acceptable.
I'd try rndcontrol(8) first, as Alexey mentioned.

-- 
Greg Lewis                          Email   : glewis@eyesbeyond.com
Eyes Beyond                         Web     : http://www.eyesbeyond.com
Information Technology              FreeBSD : glewis@FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031020232351.GA58090>