From 10ba380dfc6564f7a18d80acc3f4153bb0cc005f Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Thu, 18 Dec 2014 15:09:55 +0100 Subject: Upgrade preseeding to Debian 7.7. --- src/fripost-partman-udeb/base.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src') diff --git a/src/fripost-partman-udeb/base.sh b/src/fripost-partman-udeb/base.sh index d757670..449d3ae 100644 --- a/src/fripost-partman-udeb/base.sh +++ b/src/fripost-partman-udeb/base.sh @@ -52,13 +52,13 @@ wait_for_device() { [ -b "$device" ] || fatal "Error: $device not found!" } -# The non-blocking PRNG /dev/urandom doesn't block if it has been seeded -# enough, sadly (e.g., if the entropy pool is empty). Reading a few -# bytes from the *blocking* should ensure that "the kernel RNG has [...] -# reach full entropy at least once, which guarantees cryptographic -# quality of the rest of the /dev/urandom stream." -- Tor bug #10676. -# See also urandom(4). (XXX It's possible that the debian installer -# does that already.) +# The non-blocking PRNG /dev/urandom doesn't block if it hasn't been +# seeded enough, sadly (e.g., if the entropy pool is empty). Reading a +# few bytes from the *blocking* PRNG should ensure that "the kernel RNG +# has [...] reach full entropy at least once, which guarantees +# cryptographic quality of the rest of the /dev/urandom stream." -- Tor +# bug #10676. See also urandom(4). (XXX It's possible that the debian +# installer does that already.) seed_urandom() { local seed=/var/run/random-seed fifo n records dir local poolfile=/proc/sys/kernel/random/poolsize bytes=512 -- cgit v1.2.3