Björn Esser
ea04eb301d
libmisc/salt.c: Use crypt_gensalt(), if available in libcrypt.
...
Most Linux distributions, including Fedora and RHEL 8, are shipping
with libxcrypt >= 4.0.
Since that version of libxcrypt the provided family of crypt_gensalt()
functions are able to use automatic entropy drawn from secure system
ressources, like arc4random(), getentropy() or getrandom().
Anyways, the settings generated by crypt_gensalt() are always
guaranteed to works with the crypt() function.
Using crypt_gensalt() is also needed to make proper use of newer
hashing methods, like yescrypt, provided by libxcrypt.
Signed-off-by: Björn Esser <besser82@fedoraproject.org>
2021-07-04 13:01:22 +02:00
..
2021-06-24 09:18:35 +02:00
2009-04-23 17:33:21 +00: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-06-24 09:18:35 +02: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-06-24 09:18:35 +02: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
2009-03-08 20:26:56 +00:00
2021-05-15 12:38:55 -05:00
2010-08-22 19:13:53 +00:00
2021-06-24 09:18:35 +02: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
2021-06-24 09:18:35 +02:00
2021-06-16 09:50:53 +02:00
2011-09-18 20:41:38 +00:00
2009-04-27 20:09:18 +00:00
2021-04-11 17:42:04 -05:00
2010-08-21 15:32:53 +00:00
2021-06-24 09:18:35 +02: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
2009-04-30 21:08:49 +00:00
2021-05-15 12:38:55 -05:00
2021-07-04 13:01:22 +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-06-24 09:18:35 +02: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
2009-04-23 11:14:56 +00:00