diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2014-12-18 15:09:55 +0100 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2015-06-07 04:28:12 +0200 |
commit | 10ba380dfc6564f7a18d80acc3f4153bb0cc005f (patch) | |
tree | e44f036d1f57bf8e1f75eb98bffa03a53ea69d9f /src/fripost-partman-udeb | |
parent | a18ef47a22b09347e6d4738c37f364379a86d93b (diff) |
Upgrade preseeding to Debian 7.7.
Diffstat (limited to 'src/fripost-partman-udeb')
-rw-r--r-- | src/fripost-partman-udeb/base.sh | 14 |
1 files changed, 7 insertions, 7 deletions
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 |