aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLeo Famulari <leo@famulari.name>2017-12-13 18:49:28 -0500
committerLeo Famulari <leo@famulari.name>2017-12-19 11:31:24 -0500
commit9a56cf2b5b4970843c215091ea9823a67e077310 (patch)
treed08753865b0d1c77bcc845a38f675996f0ebc20d /doc
parenta8db968fa48ecb3dd219833a9e393a383d842215 (diff)
downloadguix-9a56cf2b5b4970843c215091ea9823a67e077310.tar
guix-9a56cf2b5b4970843c215091ea9823a67e077310.tar.gz
services: urandom-seed: Try using a HWRNG to seed the Linux CRNG at boot.
* gnu/services/base.scm (urandom-seed-shepherd-service): Try to read from '/dev/hwrng' at boot, as a supplement to any saved random seed. * doc/guix.texi (Base Services): Document the new feature.
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index 3bb29db960..6b6f8dedae 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -10025,7 +10025,9 @@ well as in the @var{groups} field of the @var{operating-system} record.
@deffn {Scheme Procedure} urandom-seed-service
Save some entropy in @var{%random-seed-file} to seed @file{/dev/urandom}
-when rebooting.
+when rebooting. It also tries to seed @file{/dev/urandom} from
+@file{/dev/hwrng} while booting, if @file{/dev/hwrng} exists and is
+readable.
@end deffn
@defvr {Scheme Variable} %random-seed-file