Commit Graph

152 Commits (da641a6d3d8e6cc3606e853beb8cad0b3be966cf)

Author SHA1 Message Date
Philippe Pittoli da641a6d3d Remove redundant error messages. 2023-06-14 03:25:19 +02:00
Philippe Pittoli b047a3fd6f All explicit errors in requests are now dedicated errors. 2023-06-14 02:07:03 +02:00
Philippe Pittoli 71cbb1d519 Invalid credentials error message. 2023-06-14 01:51:55 +02:00
Philippe Pittoli d66afffc15 Errors now have dedicated messages. 2023-06-14 01:46:38 +02:00
Philippe Pittoli 33b47766e5 s/shared key/secret key/ + new bootstrap request + some cleaning. 2023-06-13 23:40:34 +02:00
Philippe Pittoli 186edd2ca0 s/UserID | Nil/UserID?/ and allow simple users to read their permissions. 2023-06-13 18:37:58 +02:00
Philippe Pittoli f58de2ce36 Load a file to get the AuthD::Service definition. 2023-06-13 03:24:08 +02:00
Philippe Pittoli f6311be77f Change message numbers. 2023-06-13 03:15:08 +02:00
Philippe Pittoli fb65c32848 Remove messages: GetContacts ListUsers UpdatePassword ReplaceProfile. 2023-06-13 02:32:15 +02:00
Philippe Pittoli 3d8d74e8b7 Some inconsistencies have been dealt with. Authorization rules are documented. 2023-06-13 01:32:54 +02:00
Philippe Pittoli 67adb6ef51 Removing "phone" and EditContact message (ModUser could be used instead). 2023-06-12 23:24:49 +02:00
Philippe Pittoli 3e807ad63e Fix ModUser logic. 2023-06-12 20:54:04 +02:00
Philippe Pittoli cb358ef1de More fine-grained authorizations and remove useless message GetUserByCredentials. 2023-06-12 14:40:03 +02:00
Philippe Pittoli b98399e030 Simplification is done. Still some minor inconsistencies to fix. 2023-06-12 01:56:31 +02:00
Philippe Pittoli af22ea8d18 Register: require at least 20-byte passwords. 2023-06-12 01:55:06 +02:00
Philippe Pittoli 0621d21ce0 Simplification continues with the Profile class. 2023-06-12 01:03:52 +02:00
Philippe Pittoli 5f3f208798 Permissions: code simplification. 2023-06-11 21:27:52 +02:00
Philippe Pittoli cf97fab773 New TODO.md + improved password management (simpler code and messages). 2023-06-11 21:10:03 +02:00
Philippe Pittoli 2786e2f7ff Refactoring in progress. Still a few classes to go. 2023-06-11 18:59:41 +02:00
Philippe Pittoli 7958e7812e Slowly embrace the logged-authenticated-user logic. 2023-06-11 16:39:16 +02:00
Philippe Pittoli 4989218a79 WIP: remove "shared keys logic" and use logged user hash. 2023-06-10 18:27:50 +02:00
Philippe Pittoli 2a267ea7a2 Authd: users are now logged and have an 'admin' attribute. 2023-06-10 17:26:12 +02:00
Philippe Pittoli d9e0e6b09b Authd now uses '-k' instead of '-K' (like other services). 2023-02-15 15:19:22 +01:00
Philippe Pittoli 78838f5ab9 New file structure: authd can now be used as a simple library. 2023-02-10 09:51:53 +01:00
Philippe Pittoli 34f1077757 Update whole structure + new LibIPC API. 2023-02-09 17:55:34 +01:00
Philippe Pittoli 3ddcd181dd hexdigest => hexfinal 2023-01-25 05:53:35 +01:00
Karchnu 841d2dc7c2 Filling tho responses array. 2020-12-13 03:00:45 +01:00
Karchnu c39e639ab1 Add a reference to the AuthD::Service definition in the client. 2020-12-04 00:08:24 +01:00
Karchnu ccd288a156 Take into account connections and disconnections. 2020-11-26 06:56:20 +01:00
Karchnu 9b33f686bd Client bugfix. 2020-11-26 04:02:19 +01:00
Karchnu dbcfa4880b New authd code structure. 2020-11-22 13:49:34 +01:00
Karchnu b717be649f Configuration simplification. 2020-11-08 22:50:24 +01:00
Luka Vandervelden b70443409b GetContacts request. 2020-10-31 00:46:14 +01:00
Luka Vandervelden b69afedbd2 Merge branch 'master' of ssh://git.baguette.netlib.re:2299/Baguette/authd 2020-10-30 18:59:38 +01:00
Karchnu df22fe8a9b recreate_indexes 2020-10-26 00:16:47 +01:00
Karchnu bf0571c31b password too short 2020-10-25 23:54:37 +01:00
Karchnu d12c125c22 fix key management dedup 2020-10-25 19:36:28 +01:00
Karchnu 9524f969c4 print_password_recovery_parameters 2020-10-25 19:09:13 +01:00
Karchnu 4b68daf016 Server: simpler configuration system. 2020-10-25 03:57:58 +01:00
Karchnu 21480c5866 Two stage option parsing. 2020-10-25 02:03:07 +01:00
Karchnu cf9c6220e6 Fix: Baguette::Configuration::Auth in the wrong file. 2020-10-23 19:16:49 +02:00
Karchnu 43668b8e5d Baguette::Configuration::Auth 2020-10-23 16:30:35 +02:00
Karchnu 9a921b6ac7 Display the target class on JSON parsing error. 2020-10-14 17:02:06 +02:00
Luka Vandervelden ecd6b555a1 Merge branch 'master' of ssh://git.baguette.netlib.re:2299/Baguette/authd into master 2020-10-14 13:30:17 +02:00
Luka Vandervelden 7c7c5641e1 Debug message removed. 2020-10-14 13:28:07 +02:00
Karchnu 624289a112 Merge branch 'master' of ssh://git.baguette.netlib.re:2299/Baguette/authd 2020-10-13 18:05:41 +02:00
Karchnu f8d98ab1a1 authc CLI for authd 2020-10-13 18:01:59 +02:00
Luka Vandervelden 585fee5b9f Some debug messages removed. 2020-10-11 21:00:41 +02:00
Luka Vandervelden b90facdb82 Merge branch 'master' of ssh://git.baguette.netlib.re:2299/Baguette/authd into master 2020-10-09 15:52:46 +02:00
Luka Vandervelden 851a3accfe Permission checking can be done by users. 2020-10-09 15:51:36 +02:00