monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] non_blocking_rng_ok hook no longer used


From: Richard Levitte - VMS Whacker
Subject: Re: [Monotone-devel] non_blocking_rng_ok hook no longer used
Date: Fri, 17 Feb 2006 09:58:21 +0100 (CET)

In message <address@hidden> on Thu, 16 Feb 2006 21:30:13 -0500, Jack Lloyd 
<address@hidden> said:

lloyd>    Botan::Config::set("rng/es_files",
lloyd>                       (hook_non_blocking_rng_ok() ?
lloyd>                          "/dev/urandom" : "/dev/random"));

The problem with that kind of setup is that it's not portable.  I
haven't looked at the Botan source, but it would surprise me if it
doesn't already do the very it can to get us as good entropy as
possible in the different platforms it runs on.  There's no real
reason we should try to duplicate that work.

lloyd> TBH I think the simplest thing to do is remove the hook, or at
lloyd> least note in the docs that it is currently ignored, and just
lloyd> leave it at that.

Sounds like the sane thing to do.

Cheers,
Richard

-----
Please consider sponsoring my work on free software.
See http://www.free.lp.se/sponsoring.html for details.

-- 
Richard Levitte                         address@hidden
                                        http://richard.levitte.org/

"When I became a man I put away childish things, including
 the fear of childishness and the desire to be very grown up."
                                                -- C.S. Lewis




reply via email to

[Prev in Thread] Current Thread [Next in Thread]