tomsquest / docker-radicale

Docker image for Radicale calendar and contact server :calendar: + security :closed_lock_with_key: + addons :rocket:
GNU General Public License v3.0
562 stars 80 forks source link

can't create secured users through htpasswd #115

Closed wizel10 closed 2 years ago

wizel10 commented 2 years ago

Wanted to create a user for external access, but failed to create through htpasswd: docker exec -ti radicale htpasswd -c /users user1 with error "...container process caused: exec: "htpasswd": executable file not found in $PATH..." Can you confirm htpasswd is available in the container?

wizel10 commented 2 years ago

Just looking at the Dockerfile, seems apache2-utils is missing in the apk load (lines 32...).

tomsquest commented 2 years ago

The preferred way it to use your host to generate the password file if you need. We won't add a dependency (making the image larger and increasing the attack surface) for that.

Jocomol commented 2 years ago

@tomsquest I think that this should be mentioned in the readme

tomsquest commented 2 years ago

Can you make a PR with what you would have liked to find in a section of the Readme?