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
..
2021-05-15 12:38:55 -05:00
2021-05-15 12:38:55 -05:00
2011-09-18 21:02:43 +00:00
2020-01-12 07:31:26 -06:00
2019-10-04 18:40:41 -05:00
2011-08-14 14:00:14 +00:00
2021-05-15 12:38:55 -05:00
2021-05-15 12:38:55 -05:00
2021-05-15 12:38:55 -05:00
2011-10-18 20:23:33 +00:00
2018-10-10 12:22:04 +02:00
2021-05-15 12:38:55 -05:00
2021-05-15 12:38:55 -05:00
2021-06-16 09:50:53 +02:00
2017-10-22 18:33:13 +00:00
2021-05-15 12:38:55 -05:00
2021-05-15 12:38:55 -05:00
2021-05-15 12:38:55 -05:00
2021-05-15 12:38:55 -05:00
2010-08-22 19:13:53 +00:00
2017-10-22 19:17:02 +00:00
2011-08-14 13:16:26 +00:00
2021-05-15 12:38:55 -05:00
2010-08-22 19:13:53 +00:00
2021-05-15 12:38:55 -05:00
2021-04-16 21:02:37 -05:00
2011-06-16 21:25:36 +00:00
2021-05-15 12:38:55 -05:00
2010-08-21 15:32:53 +00:00
2021-06-16 09:50:53 +02:00
2011-09-18 20:41:38 +00:00
2021-04-11 17:42:04 -05:00
2010-08-21 15:32:53 +00:00
2021-02-01 22:11:10 +01:00
2021-05-15 12:38:55 -05:00
2021-05-15 12:38:55 -05:00
2021-06-01 22:12:24 -05:00
2019-03-31 16:00:01 +01:00
2021-05-15 12:38:55 -05:00
2010-09-05 15:34:42 +00:00
2021-05-15 12:38:55 -05:00
2021-06-23 16:30:21 +02:00
2010-08-22 13:04:54 +00:00
2021-05-15 12:38:55 -05:00
2010-08-22 19:13:53 +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 19:13:53 +00:00
2010-08-22 13:04:54 +00:00
2021-05-15 12:38:55 -05:00
2021-06-16 09:50:53 +02:00
2013-07-28 18:41:11 +02:00
2009-06-11 21:33:00 +00:00
2009-06-11 21:33:00 +00:00
2009-06-11 21:33:00 +00:00
2009-06-11 21:33:00 +00:00
2009-06-11 21:33:00 +00:00
2021-05-15 12:38:55 -05:00
2021-05-15 12:38:55 -05:00