mirror of
https://github.com/sigoden/dufs.git
synced 2026-04-08 16:49:02 +03:00
[GH-ISSUE #448] Using a hashed password for authentication, if the password contains a colon (:) , login will fail. #241
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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