go-http-auth
go-http-auth copied to clipboard
More crypters [Patch included]
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é
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 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