1
1
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2025-01-18 08:06:16 +01:00
infrastructure/roles/postfix_null
Christian Heusel 89d84e03ab
postfix_null: Use fixed amount of rounds for password_hash
As it turns out the value for this filters "rounds" parameter strongly
differs depending on the installed python crypto backend, since
python-crypt uses 5000 rounds while python-passlib uses 656000 rounds
set a default parameter according to ansible documentation.

As really high values for "rounds" lead to some login timeouts it makes
sense for us to use a fixed value for this parameter. In this case 5000
have been chosen as this value reflects the defaults from python-crypt
aswell as /etc/login.defs in the shadow package.

Link: https://github.com/ansible/ansible/pull/77963/files
Related-to: https://gitlab.archlinux.org/archlinux/infrastructure/-/issues/250
Signed-off-by: Christian Heusel <christian@heusel.eu>
2024-10-27 00:49:45 +02:00
..
defaults Remove the three dashes from all YAML documents 2022-06-08 14:35:45 +03:00
handlers Capitalize the first letter of all task names 2022-08-23 06:57:13 +03:00
meta Fix lint warnings about missing galaxy_info in meta 2022-09-19 00:40:48 +03:00
tasks postfix_null: Use fixed amount of rounds for password_hash 2024-10-27 00:49:45 +02:00
templates Split the postfix role into a role for mail.a.o and the clients 2021-07-16 20:02:05 +02:00