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

maint(pam/pwquality): Protect access to pwquality calls with a mutex #581

Merged
merged 1 commit into from
Oct 10, 2024

Conversation

3v1n0
Copy link
Collaborator

@3v1n0 3v1n0 commented Oct 10, 2024

In some tests we are failing withe errors such as:

  • The password fails the dictionary check - error loading dictionary

This is likely due to the fact that we're accessing to the data from multiple threads, while the library doesn't seem to be thread-safe so add a mutex to ensure this

In some tests we are failing withe errors such as:
 - The password fails the dictionary check - error loading dictionary

This is likely due to the fact that we're accessing to the data from
multiple threads, while the library doesn't seem to be thread-safe so
add a mutex to ensure this
@3v1n0 3v1n0 requested a review from a team as a code owner October 10, 2024 18:15
@3v1n0 3v1n0 changed the title pam/pwquality: Protect access to pwquality calls with a mutex maint(pam/pwquality): Protect access to pwquality calls with a mutex Oct 10, 2024
@3v1n0 3v1n0 merged commit 320c20a into ubuntu:main Oct 10, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants