go-http-auth icon indicating copy to clipboard operation
go-http-auth copied to clipboard

More crypters [Patch included]

Open jochumdev opened this issue 4 years ago • 2 comments

Hi,

thanks for your great work, it's very usefull for me.

I did a little change to add support for more crypters:

https://github.com/webmeisterei/go-http-auth/commit/7616ea56faee4a7f203c195f22bee42c08774ce4

Do you want a pull request for that?

Thanks and Kind regards, René

jochumdev avatar Oct 01 '20 17:10 jochumdev

Thanks for your suggestion. That patch adds a dependency on a third-party library, which I don't like. Current implementation pulls in only standard library and standard library supplement (maintained by the Go team), and I would prefer to keep it that way. Which specific crypters support does this add which you would be interested in?

abbot avatar Oct 08 '20 23:10 abbot

@abbot Thanks for your response.

I would love SHA256 Crypt and SHA512 Crypt, 256 is used by Check_MK htpasswd.

Code for them is here: https://github.com/GehirnInc/crypt - BSD-2 Clause

jochumdev avatar Oct 08 '20 23:10 jochumdev