Skip to content
Snippets Groups Projects
Verified Commit 96fdaf29 authored by Christian Heusel's avatar Christian Heusel :rocket:
Browse files

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: #250


Signed-off-by: default avatarChristian Heusel <christian@heusel.eu>
parent 42442fa6
No related branches found
No related tags found
No related merge requests found
Pipeline #110296 passed
Status
Pipeline
Created by
Stages
Actions
Passed

00:00:57

avatar
Download artifacts

No artifacts found