-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
[BUG] shadow.gen_password raises an exception #56721
Comments
This should be fixed by #55635 on 3000. Can you verify it works either on version 3000 or when you apply the change in the PR? |
I confirm that applying the following patch to Salt 2019.2.3:
and restarting the |
Should I prepare a PR for this? |
Thanks for confirmatiom. There is no need to create PR, it's already fixed. AFAIK there won't be any other 2019.2.x version, since the newest one is going to be 3001 and even 2019.2.3 was purely security update. So the best option is to upgrade. |
Yep sure. We will plan it soon. |
Description
The function
shadow.gen_password
crash with the error messageSetup
I think no special configuration is required for this issue.
Steps to Reproduce the behavior
Expected behavior
Salt should generate an hashed password.
Additional context
No problem found in version 2019.2.0 but a system update has been done meanwhile, so some Debian Python 3 packages can have be changed too.
Versions Report
salt --versions-report
``` Salt Version: Salt: 2019.2.3Dependency Versions:
cffi: Not Installed
cherrypy: 3.5.0
dateutil: 2.5.3
docker-py: Not Installed
gitdb: 2.0.0
gitpython: 2.1.1
ioflo: Not Installed
Jinja2: 2.9.4
libgit2: Not Installed
libnacl: Not Installed
M2Crypto: Not Installed
Mako: Not Installed
msgpack-pure: Not Installed
msgpack-python: 0.4.8
mysql-python: Not Installed
pycparser: Not Installed
pycrypto: 2.6.1
pycryptodome: Not Installed
pygit2: Not Installed
Python: 3.5.3 (default, Sep 27 2018, 17:25:39)
python-gnupg: Not Installed
PyYAML: 3.12
PyZMQ: 16.0.2
RAET: Not Installed
smmap: 2.0.1
timelib: Not Installed
Tornado: 4.4.3
ZMQ: 4.2.1
System Versions:
dist: debian 9.12
locale: UTF-8
machine: x86_64
release: 4.9.0-5-amd64
system: Linux
version: debian 9.12
The text was updated successfully, but these errors were encountered: