Re: [RFC] ra_svn::make_nonce: how to cope with entropy shortages?
From: Peter Samuelson <peter_at_p12n.org>
Date: Thu, 3 Nov 2011 16:10:00 -0500
[Daniel Shahaf]
It doesn't call for random numbers. It calls for a nonce. The nonce
apr_time_now() has microsecond resolution. There's no way a single
That leaves multiple processes calling apr_time_now in the same
> > Would some other simple fix (e.g., calling
Well, rand() and friends have to be seeded _somehow_, usually from time
> No objection here, but doesn't APR already use lrand48() if it's available?
If that's true, we shouldn't even be having this conversation at all.
-- Peter Samuelson | org-tld!p12n!peter | http://p12n.org/Received on 2011-11-03 22:10:44 CET |
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.