Copilot
b4e92616f5
Add HTTP API endpoint for leader stepdown functionality
2025-07-11 20:07:39 -04:00
Philip O'Toole
284cc687f8
Snapshots can now be triggered via a HTTP request
2024-06-14 12:21:53 -04:00
Josh Soref
63344c291e
Spelling ( #1713 )
...
Fix misspellings
2024-03-01 11:22:47 -05:00
Philip O'Toole
1fe6d3e9ec
Update unit tests
2023-12-17 16:04:03 -05:00
Philip O'Toole
e06e7bea00
Neater logic
2023-12-17 16:00:15 -05:00
Philip O'Toole
d5efd31fad
Remove faulty bcrypt support
...
See https://github.com/rqlite/rqlite/issues/1488
2023-12-17 15:52:23 -05:00
Philip O'Toole
66434caeb9
Add Join Perms back
2023-11-23 14:32:56 -05:00
Philip O'Toole
16052d8020
Start removing HTTP join and notify code
2023-10-18 07:34:15 -04:00
Philip O'Toole
7655725d5d
Try to simplify main
2023-04-30 12:18:25 -04:00
Philip O'Toole
9d413d071d
Two new unit tests
2023-04-03 22:35:17 -04:00
Philip O'Toole
d2169d8b81
Minor optimizations
2023-03-30 15:12:16 -04:00
Philip O'Toole
30c35a6b5d
Update credential_store.go
2022-12-05 12:12:52 -05:00
Philip O'Toole
3b48634b42
Add benchmark test
2022-12-05 11:43:04 -05:00
Philip O'Toole
bfcd21b8fd
Cache hashed passwords
2022-12-05 09:21:28 -05:00
Philip O'Toole
2f9a11c308
Make sure username-passwords don't mix
2022-12-05 08:41:54 -05:00
Neal Harrington
8921ee002e
Clean up unncessary conditional. Add explicit auth/ tests for empty credentials/anonymous case
2022-07-25 22:02:28 -04:00
Philip O'Toole
c59adee7cb
Add Read-only join permission
2022-07-19 13:36:26 -04:00
Philip O'Toole
d289da5feb
Refactor auth checking
2022-07-19 09:35:32 -04:00
Philip O'Toole
288d97b241
Move Perm constants to auth package
...
Makes it cleaner to re-use them outside of HTTP package.
2022-07-17 22:23:28 -04:00
Philip O'Toole
860999951d
Enhance Authentication and Authorization system ( #940 )
2022-01-06 19:56:56 -05:00
Philip O'Toole
1ffc3d566e
Add varadic functions to auth store
2019-12-28 17:14:22 -05:00
Philip O'Toole
6fae0d4cee
Tweak hashed password implementation
2018-03-17 10:38:03 -04:00
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
2018-03-16 21:28:41 +01:00
Philip O'Toole
293268c5ed
Update credential_store.go
2017-03-25 17:23:16 -07:00
Philip O'Toole
c6660a587b
Update credential_store.go
2016-06-10 20:59:39 -07:00
Philip O Toole
bf2047b45b
'go lint' fixes
2016-05-05 15:50:45 -07:00
Philip O'Toole
4c36f8345c
Create standalone auth module
2016-04-17 10:10:10 -07:00