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

Bcrypt scheme doesn't work in Radicale #223

Open
andrey-akhmatkhanov opened this issue Aug 3, 2022 · 2 comments
Open

Bcrypt scheme doesn't work in Radicale #223

andrey-akhmatkhanov opened this issue Aug 3, 2022 · 2 comments

Comments

@andrey-akhmatkhanov
Copy link

Trying to setup Radicale according to the current guide (with bcrypt, after #201) leads to an error when Radicale server starts:
RuntimeError: The htpasswd encryption method 'bcrypt' requires the passlib module with bcrypt support
Trying to install passlib and bcrypt as:
sudo apt install python-passlib python-bcrypt
doesn't help.

The only workaround I've found is to crerate a new user and setup these libraries by pip into user's home dir with:
sudo apt install python3-pip
python3 -m pip install --user --upgrade passlib bcrypt
and then start Radicale as a systemd user service.

Does anyone have the same issue?

@Jocomol
Copy link
Contributor

Jocomol commented Apr 24, 2023

I didn't experience this issue, were you able to solve it? If yes please feel free to document your findings into the article by opening a pull request.

@andrey-akhmatkhanov
Copy link
Author

Hi. I have tested it on a fresh install of Debian 10.13.
The solution was to use commands:
sudo apt install python3-passlib python3-bcrypt
note the use of python3 instead of python in my first message.
I'll make a pull request in a while.

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

No branches or pull requests

2 participants