1. What version of Caddy are you running (caddy -version)?
0.9.2
2. What are you trying to do?
I'd like to http basic authentication inside Caddyfile, without being force to write my plain text password.
Moreover, I'd like to push my commits in a git repo. So, I can not imagine to let my plain text password in it.
3. What is your entire Caddyfile?
xxx.yyy.net {
basicauth / user:$2y$05$iIhoKBnUjfoz9HjV6OOHYO4GD7uVbcrP1PbByFx6K2tOxxaEE/E/6
proxy / 10.0.50.1:8080 {
transparent
}
}
4. How did you run Caddy (give the full command and describe the execution environment)?
As a systemd service in debian jessie (8.5) with caddy-ansible role.
5. What did you expect to see?
I expect basic auth to work without suggesting to write my plain text password.
6. What did you see instead (give full error messages and/or log)?
I get a deprecated warning about using htpasswd in the documentation
I get source code able to maange hassh password
I get no implementation if hash inside Caddyfile itself, but a documentation suggesting to write plain text password.
7. How can someone who is starting from scratch reproduce this behavior as minimally as possible?
It's not a real bug but I think a very big improvement to do in term of minimal security level.
1. What version of Caddy are you running (
caddy -version)?0.9.2
2. What are you trying to do?
I'd like to http basic authentication inside Caddyfile, without being force to write my plain text password.
Moreover, I'd like to push my commits in a git repo. So, I can not imagine to let my plain text password in it.
3. What is your entire Caddyfile?
4. How did you run Caddy (give the full command and describe the execution environment)?
As a systemd service in debian jessie (8.5) with caddy-ansible role.
5. What did you expect to see?
I expect basic auth to work without suggesting to write my plain text password.
6. What did you see instead (give full error messages and/or log)?
I get a deprecated warning about using htpasswd in the documentation
I get source code able to maange hassh password
I get no implementation if hash inside Caddyfile itself, but a documentation suggesting to write plain text password.
7. How can someone who is starting from scratch reproduce this behavior as minimally as possible?
It's not a real bug but I think a very big improvement to do in term of minimal security level.