Commit Graph

229 Commits

Author SHA1 Message Date
Derrick Hammer accffade40
fix: update error handling 2024-01-16 15:26:57 -05:00
Derrick Hammer f34f009f17
fix: key needs to be 33 bytes 2024-01-16 15:26:36 -05:00
Derrick Hammer e1709a7910
fix: update error handling 2024-01-16 15:23:00 -05:00
Derrick Hammer d74d29e2c5
fix: check that key is 33 bytes and is a ed25519 2024-01-16 15:22:48 -05:00
Derrick Hammer 09216e2817
fix: challenge needs to be base64url encoded 2024-01-16 15:12:05 -05:00
Derrick Hammer db46fcd774
fix: check the challenge substring 2024-01-16 14:45:07 -05:00
Derrick Hammer 1b680dd399
fix: validate without key prefix 2024-01-16 14:43:26 -05:00
Derrick Hammer dd5c6332f3
fix: response must be 65 bytes 2024-01-16 14:32:53 -05:00
Derrick Hammer 5d393c3915
fix: pubkey missing from challenge record 2024-01-16 14:22:16 -05:00
Derrick Hammer 40479d8bb3
fix: wrong account paths 2024-01-16 13:57:33 -05:00
Derrick Hammer ec9026c8b1
feat: implement AccountLogin 2024-01-16 13:56:25 -05:00
Derrick Hammer eee1faab18
feat: implement AccountLoginChallenge 2024-01-16 13:51:03 -05:00
Derrick Hammer 17441ff674
refactor: use setAuthCookie helper 2024-01-16 13:38:10 -05:00
Derrick Hammer 891ca20a72
feat: implement AccountRegister, and switch to using structs for request/response 2024-01-16 13:32:47 -05:00
Derrick Hammer c4f0226d1a
refactor: re-implement s5 routes 2024-01-16 12:20:43 -05:00
Derrick Hammer 4b56de03a3
fix: fix policies 2024-01-15 23:56:44 -05:00
Derrick Hammer 1ccc5d1141
fix: fix policies 2024-01-15 23:46:54 -05:00
Derrick Hammer 46dbfe77bc
fix: update def's 2024-01-15 23:41:13 -05:00
Derrick Hammer e40111a276
fix: sec was not used 2024-01-15 23:15:57 -05:00
Derrick Hammer b2d863d466
Revert "fix: refactor AddPolicy"
This reverts commit 17f16c53af.
2024-01-15 23:08:44 -05:00
Derrick Hammer 17f16c53af
fix: refactor AddPolicy 2024-01-15 23:07:44 -05:00
Derrick Hammer f0b92aa2d6
fix: need to load policies 2024-01-15 22:53:51 -05:00
Derrick Hammer 87ebf5012b
fix: policies need to be added after 2024-01-15 22:53:12 -05:00
Derrick Hammer 05c0aba484
feat: initial casbin support 2024-01-15 22:01:40 -05:00
Derrick Hammer 7ef2f819a8
fix: use GetHttpRouter 2024-01-15 07:56:37 -05:00
Derrick Hammer a54341dd68
fix: subdomain comes before domain 2024-01-11 23:22:56 -05:00
Derrick Hammer a57e575a82
fix: change config path 2024-01-11 23:22:33 -05:00
Derrick Hammer 519426ba7d
feat: bare bones s5 support, and more dynamic loading of subsystems 2024-01-11 23:13:10 -05:00
Derrick Hammer 444de35e31
feat: initial new portal bones 2024-01-11 19:11:53 -05:00