Project

General

Profile

[Solved] SHA-256 hash for digest is not recognized by lighttpd? Only MD5 works?

Added by anonymous_temp_user over 3 years ago

Hi guys,

When using SHA-256 hash for digest file (using lightdigest), it looks like even I have set the "algorithm" => "SHA-256",
lighttpd still tries MD5, and thus failed to verify the auth.

The error log looks like this:
2021-01-18 20:15:45: mod_auth.c.1310) digest: (MD5): invalid

The testing digest file looks like this:
test:rutorrent:7366ac563768445f6e8a6d60ea860c85ca0251bcc8d9c7a6ed789731fe370f3a
(passwd "asdfgh")

And if I reverting to MD5, using htdigest, every thing just works as expected.

Is there some bug or I miss some options to tell lighttpd to use SHA256?

The client I'm using is Firefox 84.0.2.


    (1-1/1)