Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve execution time for masked passwords #194

Merged

Conversation

guidograzioli
Copy link
Member

@guidograzioli guidograzioli commented Oct 21, 2024

When using the masked passwords functionality, idempotence is guaranteed by pre-parsing existing users, reading salt, and regenerating the one-way hash. In case of pre-masked password some of those steps can be skipped, greatly improving execution time when the users set is large.

Fix #192

@guidograzioli guidograzioli added the bugfixes Fixes that resolve issues. SHOULD not be used for minor enhancements label Oct 21, 2024
@guidograzioli guidograzioli changed the title reproduce 192 Improve execution time for masked passwords Oct 21, 2024
@guidograzioli guidograzioli merged commit 0180552 into ansible-middleware:main Oct 22, 2024
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfixes Fixes that resolve issues. SHOULD not be used for minor enhancements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"Get masked password for user" task takes more than 2 minutes per users after some iteration
1 participant