Re: Seeding /dev/random not working

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

 



"M Macnair" <[email protected]> writes:
> 
> Many distros ship with an init script that saves and restores the
> entropy pool on startup and shutdown.  The bit that interests me that
> is called on startup is (my comments):
> 	if [ -f $random_seed ]; then
> 		cat $random_seed >/dev/urandom  # should seed the pool
OA
Writing doesn't actually work; to get real accounted entropy for /dev/random
you need to use a special ioctl. I ran into this problem some years ago 
and ended up writing http://www.muc.de/~ak/rndfeed.c

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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux