kunal / sqlite-http-basic-auth-nginx-module

Sqlite based basic authentication for nginx
Other
25 stars 10 forks source link

Digest authentication support #3

Open hazcod opened 9 years ago

hazcod commented 9 years ago

[Feature Request] Could this be a possibility? Sending over a password in plaintext is something I don't really like.

hazcod commented 9 years ago

To add in, digest authentication is sending; (Bash)

htdigest_hash=`printf $username:$AUTH_REALM:$rand_pw | md5sum -`
echo "$username:$AUTH_REALM:${htdigest_hash:0:32}"

Where auth_realm is the name if your webdav share, e.g. "Media" and $rand_pw your password.

kunal commented 9 years ago

Yes. I will look into it.

hazcod commented 9 years ago

And this would solve your TODO "Support encrypted passwords" ;-) nvm, is hashed Thank you.

Maybe this should be made into a fork?