mirror of https://github.com/mkerrisk/man-pages
random.7: wfix
Reported-by: Jeremy Harris <jgh@redhat.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
2e8302fca0
commit
7c896e1ece
|
@ -68,18 +68,16 @@ When a sufficient number of random bits has been collected, the
|
|||
entropy pool is considered to be initialized.
|
||||
.SS Choice of random source
|
||||
Unless you are doing long-term key generation (and most likely not even
|
||||
then), you probably shouldn't be using the
|
||||
then), you probably shouldn't be reading from the
|
||||
.IR /dev/random
|
||||
device
|
||||
or
|
||||
device or employing
|
||||
.BR getrandom (2)
|
||||
with the
|
||||
.BR GRND_RANDOM
|
||||
flag.
|
||||
|
||||
Instead, use either the
|
||||
Instead, either read from the
|
||||
.IR /dev/urandom
|
||||
device or
|
||||
device or employ
|
||||
.BR getrandom (2)
|
||||
without the
|
||||
.B GRND_RANDOM
|
||||
|
|
Loading…
Reference in New Issue