teatotal: Tea-kgen fails on FreeBSD
Subject:
RE: Tea-kgen fails on FreeBSD
From:
"Mark" ####@####.####
Date:
1 Jan 2005 20:43:01 +0000
Message-Id: <20050101204258.7E28FA63@mc.neutelligent.com>
FWIW, changing the Makefile.patch to point to /dev/urandom rather than
/dev/random works for me. I don't know enough about FreeBSD to suggest why
that would be.
Again, thanks for your help.
Yours,
Mark
> -----Original Message-----
> From: Alex Holden ####@####.####
> Sent: 01 January 2005 17:11
> To: ####@####.####
> Cc: ####@####.####
> Subject: Re: Tea-kgen fails on FreeBSD
>
> Mark wrote:
> > If tea-kgen pauses, mash keyboard or move mouse to generate
> more randomness.
>
> That means that it successfully opened /dev/random but when
> it tried to read 16 bytes from it, the read() call returned
> zero bytes, as if it was an empty file. I don't know enough
> about FreeBSD to guess why it would be doing that. You could
> try using Tea Total's own random number generator instead of
> the one built into the OS. Just edit Makefile and comment out
> the RANDOM_DEVICE line inside the ifeq($ARCH), FREEBSD)
> block, then rebuild everything.
>
> BTW Tea Total hasn't been under active development for quite
> a while now, and I wouldn't recommend using the CVS snapshot
> because I stopped in the middle of some quite extensive changes.
>
> --
> ------------ Alex Holden - http://www.alexholden.net/
> ------------ If it doesn't work, you're not hitting it with a
> big enough hammer
>