teatotal: Tea-kgen fails on FreeBSD


Previous by date: 1 Jan 2005 17:11:28 +0000 Tea-kgen fails on FreeBSD, Mark
Next by date: 1 Jan 2005 17:11:28 +0000 Re: Tea-kgen fails on FreeBSD, Mark
Previous in thread: 1 Jan 2005 17:11:28 +0000 Tea-kgen fails on FreeBSD, Mark
Next in thread: 1 Jan 2005 17:11:28 +0000 Re: Tea-kgen fails on FreeBSD, Mark

Subject: Re: Tea-kgen fails on FreeBSD
From: Alex Holden ####@####.####
Date: 1 Jan 2005 17:11:28 +0000
Message-Id: <41D6D9A3.1020003@linuxhacker.org>

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

Previous by date: 1 Jan 2005 17:11:28 +0000 Tea-kgen fails on FreeBSD, Mark
Next by date: 1 Jan 2005 17:11:28 +0000 Re: Tea-kgen fails on FreeBSD, Mark
Previous in thread: 1 Jan 2005 17:11:28 +0000 Tea-kgen fails on FreeBSD, Mark
Next in thread: 1 Jan 2005 17:11:28 +0000 Re: Tea-kgen fails on FreeBSD, Mark


Powered by ezmlm-browse 0.20.