Re: Why does reading from /dev/urandom deplete entropy so much?

2007-12-08 Thread Mike McGrath
Theodore Tso wrote: On Sat, Dec 08, 2007 at 02:37:57AM -0500, Jon Masters wrote: BTW, You may be better off using "uuidgen -t" to generate the UUID in the smolt RPM, since that will use 12 bits of randomness from /dev/random, plus the MAC, address and timestamp. So even if there is zero

Re: Why does reading from /dev/urandom deplete entropy so much?

2007-12-08 Thread Mike McGrath
Theodore Tso wrote: On Sat, Dec 08, 2007 at 02:37:57AM -0500, Jon Masters wrote: BTW, You may be better off using uuidgen -t to generate the UUID in the smolt RPM, since that will use 12 bits of randomness from /dev/random, plus the MAC, address and timestamp. So even if there is zero

Re: Why does reading from /dev/urandom deplete entropy so much?

2007-12-05 Thread Mike McGrath
Matt Mackall wrote: On Tue, Dec 04, 2007 at 04:23:12PM -0600, Mike McGrath wrote: Matt Mackall wrote: On Tue, Dec 04, 2007 at 03:18:27PM -0600, Mike McGrath wrote: Matt Mackall wrote: which would have been in v2.6.22-rc4 through the normal CVE process. The only

Re: Why does reading from /dev/urandom deplete entropy so much?

2007-12-05 Thread Mike McGrath
Matt Mackall wrote: On Tue, Dec 04, 2007 at 04:23:12PM -0600, Mike McGrath wrote: Matt Mackall wrote: On Tue, Dec 04, 2007 at 03:18:27PM -0600, Mike McGrath wrote: Matt Mackall wrote: which would have been in v2.6.22-rc4 through the normal CVE process. The only

Re: Why does reading from /dev/urandom deplete entropy so much?

2007-12-04 Thread Mike McGrath
Matt Mackall wrote: On Tue, Dec 04, 2007 at 03:18:27PM -0600, Mike McGrath wrote: Matt Mackall wrote: which would have been in v2.6.22-rc4 through the normal CVE process. The only other bits in there are wall time and utsname, so systems with no CMOS clock would behave repeatably. Can

Re: Why does reading from /dev/urandom deplete entropy so much?

2007-12-04 Thread Mike McGrath
Theodore Tso wrote: On Tue, Dec 04, 2007 at 02:48:12PM -0600, Mike McGrath wrote: Alan Cox wrote: Here's the top 5: 266 28caf2c3-9766-4fe1-9e4c-d6b0ba8a0132 336 810e7126-1c69-4aff-b8b1-9db0fa8aa15a 402 c8dbb9d3-a9bd-4ba6-b92e-4a294ba5a95f 884 06e84493-e024-44b1-9b32

Re: Why does reading from /dev/urandom deplete entropy so much?

2007-12-04 Thread Mike McGrath
of duplicates for certain values: >From Mike McGrath (added to Cc) Here's the top 5: 266 28caf2c3-9766-4fe1-9e4c-d6b0ba8a0132 336 810e7126-1c69-4aff-b8b1-9db0fa8aa15a 402 c8dbb9d3-a9bd-4ba6-b92e-4a294ba5a95f 884 06e84493-e024-44b1-9b32-32d78af04039 931 e2b67e1d-e325-4740-b

Re: Why does reading from /dev/urandom deplete entropy so much?

2007-12-04 Thread Mike McGrath
Alan Cox wrote: Here's the top 5: 266 28caf2c3-9766-4fe1-9e4c-d6b0ba8a0132 336 810e7126-1c69-4aff-b8b1-9db0fa8aa15a 402 c8dbb9d3-a9bd-4ba6-b92e-4a294ba5a95f 884 06e84493-e024-44b1-9b32-32d78af04039 931 e2b67e1d-e325-4740-b938-795addb45280 The left number is times this month

Re: Why does reading from /dev/urandom deplete entropy so much?

2007-12-04 Thread Mike McGrath
Alan Cox wrote: Here's the top 5: 266 28caf2c3-9766-4fe1-9e4c-d6b0ba8a0132 336 810e7126-1c69-4aff-b8b1-9db0fa8aa15a 402 c8dbb9d3-a9bd-4ba6-b92e-4a294ba5a95f 884 06e84493-e024-44b1-9b32-32d78af04039 931 e2b67e1d-e325-4740-b938-795addb45280 The left number is times this month

Re: Why does reading from /dev/urandom deplete entropy so much?

2007-12-04 Thread Mike McGrath
of duplicates for certain values: From Mike McGrath (added to Cc) Here's the top 5: 266 28caf2c3-9766-4fe1-9e4c-d6b0ba8a0132 336 810e7126-1c69-4aff-b8b1-9db0fa8aa15a 402 c8dbb9d3-a9bd-4ba6-b92e-4a294ba5a95f 884 06e84493-e024-44b1-9b32-32d78af04039 931 e2b67e1d-e325-4740-b938

Re: Why does reading from /dev/urandom deplete entropy so much?

2007-12-04 Thread Mike McGrath
Theodore Tso wrote: On Tue, Dec 04, 2007 at 02:48:12PM -0600, Mike McGrath wrote: Alan Cox wrote: Here's the top 5: 266 28caf2c3-9766-4fe1-9e4c-d6b0ba8a0132 336 810e7126-1c69-4aff-b8b1-9db0fa8aa15a 402 c8dbb9d3-a9bd-4ba6-b92e-4a294ba5a95f 884 06e84493-e024-44b1-9b32

Re: Why does reading from /dev/urandom deplete entropy so much?

2007-12-04 Thread Mike McGrath
Matt Mackall wrote: On Tue, Dec 04, 2007 at 03:18:27PM -0600, Mike McGrath wrote: Matt Mackall wrote: which would have been in v2.6.22-rc4 through the normal CVE process. The only other bits in there are wall time and utsname, so systems with no CMOS clock would behave repeatably. Can