aboutsummaryrefslogtreecommitdiffstats
path: root/src/fripost-partman-udeb/debian/templates
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2014-01-23 02:18:40 +0100
committerGuilhem Moulin <guilhem@fripost.org>2015-06-07 04:27:57 +0200
commitba40cbca9650e1ddaa8357c21b5de31cc376c481 (patch)
tree292c6f88b870eee95d229c52a42b74655bc7ae2e /src/fripost-partman-udeb/debian/templates
parentef60bfefc79b00a41ca3a8e9388d3cf3ff46068e (diff)
Ensure urandom entropy is of cryptographic quality.
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 https://trac.torproject.org/projects/tor/ticket/10676 See also urandom(4).
Diffstat (limited to 'src/fripost-partman-udeb/debian/templates')
-rw-r--r--src/fripost-partman-udeb/debian/templates8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/fripost-partman-udeb/debian/templates b/src/fripost-partman-udeb/debian/templates
index 2088e19..4f4d177 100644
--- a/src/fripost-partman-udeb/debian/templates
+++ b/src/fripost-partman-udeb/debian/templates
@@ -1,3 +1,11 @@
+Template: fripost/seed_urandom_progress_title
+Type: text
+Description: Seeding /dev/urandom with ${BYTES} bytes from /dev/random
+
+Template: fripost/seed_urandom_progress_info
+Type: text
+Description: This may take a while
+
Template: debian-installer/fripost-partman/title
Type: text
Description: Partition disks using a shell script