1
0
Fork 0

19 Commits (master)

Author SHA1 Message Date
Philip O'Toole e06e7bea00 Neater logic 9 months ago
Philip O'Toole d5efd31fad Remove faulty bcrypt support
See https://github.com/rqlite/rqlite/issues/1488
9 months ago
Philip O'Toole 66434caeb9 Add Join Perms back 10 months ago
Philip O'Toole 16052d8020 Start removing HTTP join and notify code 11 months ago
Philip O'Toole 7655725d5d Try to simplify main 1 year ago
Philip O'Toole d2169d8b81 Minor optimizations 1 year ago
Philip O'Toole 30c35a6b5d
Update credential_store.go 2 years ago
Philip O'Toole bfcd21b8fd Cache hashed passwords 2 years ago
Philip O'Toole c59adee7cb Add Read-only join permission 2 years ago
Philip O'Toole d289da5feb Refactor auth checking 2 years ago
Philip O'Toole 288d97b241 Move Perm constants to auth package
Makes it cleaner to re-use them outside of HTTP package.
2 years ago
Philip O'Toole 860999951d
Enhance Authentication and Authorization system (#940) 3 years ago
Philip O'Toole 1ffc3d566e Add varadic functions to auth store 5 years ago
Philip O'Toole 6fae0d4cee Tweak hashed password implementation 7 years ago
sum12 03dcfc47e0 auth: passwords can be maked as hashed (bcrypt)
Passwords stored in auth file can be bcrypt hashes of the password
passed via the basic auth of the received request.

However unmakred passwords will be considered plain text thus
maintaining backward compatibility.

Added testcases.

Closes #395
7 years ago
Philip O'Toole 293268c5ed Update credential_store.go 8 years ago
Philip O'Toole c6660a587b Update credential_store.go 8 years ago
Philip O Toole bf2047b45b 'go lint' fixes 8 years ago
Philip O'Toole 4c36f8345c Create standalone auth module 9 years ago