[GH-ISSUE #448] Using a hashed password for authentication, if the password contains a colon (:) , login will fail. #241

Closed
opened 2026-04-08 16:51:26 +03:00 by zhus · 0 comments
Owner

Originally created by @didarpin on GitHub (Sep 6, 2024).
Original GitHub issue: https://github.com/sigoden/dufs/issues/448

Problem

Using a hashed password for authentication, if the password contains a colon (:) , login will fail.

Configuration

The command I ran is as follows:
./dufs -a "admin:$(mkpasswd -m sha-512 "a:b")@/:ro"

I accessed http://127.0.0.1:5000/, entered the username 'admin' and the password 'a:b', but the login attempt was unsuccessful.

Environment Information

  • Dufs version: 0.42.0
  • Browser/Webdav info: Chrome
  • OS info: ubuntu 22.04
Originally created by @didarpin on GitHub (Sep 6, 2024). Original GitHub issue: https://github.com/sigoden/dufs/issues/448 **Problem** Using a hashed password for authentication, if the password contains a colon (:) , login will fail. **Configuration** The command I ran is as follows: ./dufs -a "admin:$(mkpasswd -m sha-512 "a:b")@/:ro" I accessed http://127.0.0.1:5000/, entered the username 'admin' and the password 'a:b', but the login attempt was unsuccessful. **Environment Information** - Dufs version: 0.42.0 - Browser/Webdav info: Chrome - OS info: ubuntu 22.04
zhus closed this issue 2026-04-08 16:51:26 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sigoden/dufs#241