Björn Esser bc8257cf73
libmisc/salt.c: Obtain random bytes from /dev/urandom.
Using the random() function to obtain pseudo-random bytes
for generating salt strings is considered to be dangerous.
See CWE-327.

We really should use a more reliable source for obtaining
pseudo-random bytes like /dev/urandom.

Fixes #376.

Signed-off-by: Björn Esser <besser82@fedoraproject.org>
2021-06-23 16:30:21 +02:00
..
2011-09-18 21:02:43 +00:00
2020-01-12 07:31:26 -06:00
2021-06-16 09:50:53 +02:00
2017-10-22 18:33:13 +00:00
2017-10-22 19:17:02 +00:00
2021-04-16 21:02:37 -05:00
2021-06-16 09:50:53 +02:00
2021-02-01 22:11:10 +01:00
2010-08-22 13:04:54 +00:00
2017-10-22 18:33:13 +00:00
2013-08-04 15:56:32 +02:00
2010-08-22 13:04:54 +00:00
2010-08-22 13:04:54 +00:00
2021-06-16 09:50:53 +02:00