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




On Sat, 2007-12-08 at 12:49 -0500, Theodore Tso wrote:
On Sat, Dec 08, 2007 at 11:33:57AM -0600, Mike McGrath wrote:
Huh? What's the concern? All you are submitting is a list of
hardware devices in your system. That's hardly anything sensitive....

We actually had a very vocal minority about all of that which ended up
putting us in the unfortunate position of generating a random UUID instead
of using a hardware UUID from hal :-/

Tinfoil hat responses indeed! Ok, if those folks are really that
crazy, my suggestion then would be to do a "ifconfig -a > /dev/random"
before generating the UUID, and/or waiting until you just about to
send the first profile, and/or if you don't yet have a UUID,
generating it at that very moment. The first will mix in the MAC
address into the random pool, which will help guarantee uniqueness,
and waiting until just before you send the result will mean it is much
more likely that the random pool will have collected some entropy from
user I/O, thus making the random UUID not only unique, but also
unpredictable.

I do like that idea, and it could be combined with the DMI data for the
system containing things like asset tracking numbers, etc. Could use HAL
to generate a UUID based on hardware IDs and feed that in as entropy ;-)

Jon.


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: UUIDs on drives
    ... The _hardware_ ... THAT's why we're using UUID - because software _can_ find that. ... but that boot block may just as easily be on a removable USB stick. ... That's exactly why Ubuntu went to pains to ...
    (Ubuntu)
  • Re: CLSI sintax
    ... > impossible to find some refer to hardware in which it have been ... how can i extract NIC card informatios? ... NIC card in formulating the UUID. ...
    (microsoft.public.win32.programmer.ole)
  • Re: Smolt: Fedora Hardware Profiler
    ... what type of hardware is out there in the Fedora universe. ... We can't trace the UUID back to you without you giving us ... We would send the following information to the Fedora Smolt server: ... not a 2 GHz system. ...
    (Fedora)
  • Re: Smolt: Fedora Hardware Profiler
    ... what type of hardware is out there in the Fedora universe. ... We can't trace the UUID back to you without you giving us ... card which is a Crystal Semiconductor CS4236 sound card. ...
    (Fedora)
  • Re: Why does reading from /dev/urandom deplete entropy so much?
    ... hardware devices in your system. ... putting us in the unfortunate position of generating a random UUID instead ... more likely that the random pool will have collected some entropy from ...
    (Linux-Kernel)