[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: password-db failure?

From: Ben Wilhelm <zorbathut_at_uswest.net>
Date: 2004-03-06 01:37:37 CET

Looks like that worked. I doubt my virtual machine has direct enough
hardware access for the hw_random device - it's a VPS. Probably also why it
didn't get much entropy - presumably it only gets packets that are forwarded
to it, and it has no mouse/keyboard.

Anyway, maybe it should spit out warnings or something if /dev/random
appears to be blocking for a long time? Or maybe /dev/random shouldn't be
used at all if it's not necessary - one of those things where it tells you
"if you have a good /dev/random and need maximum security, use this switch".

Or just use it for seeding?

Anyway. Works now.

-Ben

----- Original Message -----
From: "Jani Averbach" <jaa@jaa.iki.fi>
To: "Tobias Ringström" <tobias@ringstrom.mine.nu>
Cc: "Ben Wilhelm" <zorbathut@uswest.net>; <users@subversion.tigris.org>
Sent: Friday, March 05, 2004 1:12 PM
Subject: Re: password-db failure?

> On 2004-03-05 18:59+0100, Tobias Ringström wrote:
> > Ben Wilhelm wrote:
> >
> > >Anybody have a clue how to fix this? Should I just, like, cat the
kernel
> > >source into /dev/random and hope that fixes it? ;) Or is there a better
> > >way?
> >
> > The kernel has two devices, /dev/random which provide better randomness
> > and blocks, and /dev/urandom which can provide less random data but does
> > not block. I think it's possible to configure APR to use /dev/urandom
> > instead of /dev/random.
>
> apr/configure --with-devrandom=/dev/urandom or
>
> There is is also hw_random device driver for some mb in Linux kernel (and
> probably in *BSD).
>
> CONFIG_HW_RANDOM:
> This driver provides kernel-side support for the Random
> Number Generator hardware found on Intel i8xx-based
> motherboards, AMD 76x-based motherboards, and Via Nehemiah CPUs.
>
> I just hit in that by myself.
> http://www.contactor.se/~dast/svn/archive-2004-03/0143.shtml
>
> BR, Jani
>
> --
> Jani Averbach
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Mar 6 01:37:58 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.