-
-
Notifications
You must be signed in to change notification settings - Fork 279
Closed
Description
We are not able to implement the htpasswd authentication on windows.
With the server configuration part
"auth": {
"type": "htpasswd",
"htpasswd_path": "<PATH_TO>\\.htpasswd"
}
we got after running launcher.py:
ModuleNotFoundError: No module named '_crypt'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "launcher.py", line 11, in <module>
main.main()
File "src\main.py", line 81, in main
server_config = server_conf.from_json(SERVER_CONF_PATH, TEMP_FOLDER)
File "src\model\server_conf.py", line 104, in from_json
config.authenticator = create_authenticator(auth_config, temp_folder)
File "src\model\server_conf.py", line 159, in create_authenticator
from auth.auth_htpasswd import HtpasswdAuthenticator
File "src\auth\auth_htpasswd.py", line 1, in <module>
import crypt
File "C:\Users\demdevwin\AppData\Local\Programs\Python\Python39\lib\crypt.py", line 9, in <module>
raise ImportError("The crypt module is not supported on Windows")
ImportError: The crypt module is not supported on Windows
What can we do ?
Reactions are currently unavailable