-
-
Notifications
You must be signed in to change notification settings - Fork 355
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
Remove crypt lib from testing #764
Conversation
as for the CI failure, the new version of Salt requires timelib and that does fails to build. Installing gcc or locking salt version could help? |
Any chance someone could take look please? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks test is failing. Even with passlib.hosts.linux_context.verify(). Maybe hash algorithm is not handled by passlib ?
Thanks for looking into it. Checking what's wrong. |
ok, turns out it's not as easy as I thought. |
I think we can just assert |
591465e
to
258929d
Compare
258929d
to
47645df
Compare
Thanks, changed. |
Merged, thanks! |
crypt module is being deprecated in Python 3.13 (as well as spwd). It is being used for checking host.user().password. Replacing the crypt.crypt() with hashlib or passlib would not be trivial, due to generated salt, format of shadow, etc.