1
0
Fork 0
mirror of https://github.com/TwiN/gatus.git synced 2024-12-14 11:58:04 +00:00
twin-gatus/security
TwiN c712133df0 feat(security): Implement Bcrypt for basic auth and deprecate SHA512
I've re-written the code for this several times before but always ended up not going through with it because a hashed Bcrypt string has dollar signs in it, which caused issues with the config due to environment variable support.
I finally decided to go through with it by forcing users to base64 encode the bcrypt hash
2022-01-08 19:59:45 -05:00
..
basic.go feat(security): Implement Bcrypt for basic auth and deprecate SHA512 2022-01-08 19:59:45 -05:00
basic_test.go Add tests for OIDC 2022-01-02 21:14:01 -05:00
config.go feat(security): Implement Bcrypt for basic auth and deprecate SHA512 2022-01-08 19:59:45 -05:00
config_test.go oidc: Add /api/v1/config route for determining whether to display a login button on the UI 2022-01-02 21:14:01 -05:00
oidc.go oidc: Display error if applicable 2022-01-02 21:14:01 -05:00
oidc_test.go Add tests for OIDC 2022-01-02 21:14:01 -05:00
sessions.go Add tests for OIDC 2022-01-02 21:14:01 -05:00
sha512.go feat(security): Implement Bcrypt for basic auth and deprecate SHA512 2022-01-08 19:59:45 -05:00
sha512_test.go Support SHA512 as hashing algorithm (#8) 2020-10-14 19:24:00 -04:00