summaryrefslogtreecommitdiff
path: root/security/prngd/MESSAGE
blob: 6d32369b124336b6825db57a7d0035d32467051a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
===========================================================================
$NetBSD: MESSAGE,v 1.2 2005/09/28 14:15:49 rillig Exp $

- Edit the PRNGD configuration file ${PKG_SYSCONFDIR}/prngd.conf
   (see ${PREFIX}/share/doc/prngd). An example conf file was installed in
	 ${PREFIX}/share/examples/prngd/prngd.conf.netbsd.

-- Regarding entropy gathering commands in prngd.conf:

The "rate" represents the number of bits of usuable entropy per byte of
command output. Adjust the rates as you see fit, but be conservative.

Depending on the usage of your system, some commands may not produce
output that varies significantly over time. Keep in mind the usage of
such commands will not produce considerably random data. Use commands
whose output will gather decent entropy.

- Add this example to /etc/rc.local for PRNGD to start on system boot:

echo ''
echo 'Starting PRNGD.'
if [ -f /usr/pkg/bin/prngd ]; then
	/usr/pkg/bin/prngd /var/run/egd-pool
fi

- Browse the manual, docs, and the PRNGD home page for more information.

===========================================================================