Commit Graph

212 Commits

Author SHA1 Message Date
ecc2290a09 Client: better error messages for register operation. 2023-06-15 01:11:16 +02:00
f24926fe1a makefile: register command. 2023-06-15 00:41:56 +02:00
03b0b7a95b Client can now register users. 2023-06-15 00:41:22 +02:00
719e47a28d Register: fix login regex. 2023-06-15 00:40:59 +02:00
8bcae74efc makefile: permissions implemented. 2023-06-15 00:03:12 +02:00
9ce976afc6 Client: permissions implemented. 2023-06-15 00:02:53 +02:00
bfbfa79b62 makefile: now with login! 2023-06-14 21:00:15 +02:00
9c75522d01 Can now authenticated from the client. 2023-06-14 20:16:42 +02:00
2024325092 DeleteUser now returns a UserDeleted response. 2023-06-14 18:39:36 +02:00
00c202a63a New DecodeToken request. 2023-06-14 18:39:23 +02:00
a441431e05 makefile creates documentation and serves it thanks to darkhttpd. 2023-06-14 18:38:31 +02:00
538faf5004 Client now is simpler (a single function parses responses). 2023-06-14 18:37:16 +02:00
da641a6d3d Remove redundant error messages. 2023-06-14 03:25:19 +02:00
b047a3fd6f All explicit errors in requests are now dedicated errors. 2023-06-14 02:07:03 +02:00
71cbb1d519 Invalid credentials error message. 2023-06-14 01:51:55 +02:00
7dfbeacd68 makefile: print error messages 2023-06-14 01:47:40 +02:00
d66afffc15 Errors now have dedicated messages. 2023-06-14 01:46:38 +02:00
33b47766e5 s/shared key/secret key/ + new bootstrap request + some cleaning. 2023-06-13 23:40:34 +02:00
186edd2ca0 s/UserID | Nil/UserID?/ and allow simple users to read their permissions. 2023-06-13 18:37:58 +02:00
7324bdb619 README: talk about permissions. 2023-06-13 18:34:51 +02:00
dab3a70e3e README: add + update + fix most explanations. Sill very much WIP. 2023-06-13 18:15:47 +02:00
f58de2ce36 Load a file to get the AuthD::Service definition. 2023-06-13 03:24:08 +02:00
0d904a5d72 make print-message-numbers 2023-06-13 03:16:59 +02:00
f6311be77f Change message numbers. 2023-06-13 03:15:08 +02:00
fb65c32848 Remove messages: GetContacts ListUsers UpdatePassword ReplaceProfile. 2023-06-13 02:32:15 +02:00
3d8d74e8b7 Some inconsistencies have been dealt with. Authorization rules are documented. 2023-06-13 01:32:54 +02:00
67adb6ef51 Removing "phone" and EditContact message (ModUser could be used instead). 2023-06-12 23:24:49 +02:00
641d89dd43 make print-messages 2023-06-12 20:54:41 +02:00
3e807ad63e Fix ModUser logic. 2023-06-12 20:54:04 +02:00
cb358ef1de More fine-grained authorizations and remove useless message GetUserByCredentials. 2023-06-12 14:40:03 +02:00
3e40a4ce3d TODO: remind that the current client doesn't have much features. 2023-06-12 01:59:33 +02:00
b98399e030 Simplification is done. Still some minor inconsistencies to fix. 2023-06-12 01:56:31 +02:00
af22ea8d18 Register: require at least 20-byte passwords. 2023-06-12 01:55:06 +02:00
f9ad5e1d93 TODO: some more inconsistencies. 2023-06-12 01:54:34 +02:00
0621d21ce0 Simplification continues with the Profile class. 2023-06-12 01:03:52 +02:00
5f3f208798 Permissions: code simplification. 2023-06-11 21:27:52 +02:00
52ee731921 TODO.md: document some inconsistencies to fix. 2023-06-11 21:27:18 +02:00
cf97fab773 New TODO.md + improved password management (simpler code and messages). 2023-06-11 21:10:03 +02:00
2786e2f7ff Refactoring in progress. Still a few classes to go. 2023-06-11 18:59:41 +02:00
7958e7812e Slowly embrace the logged-authenticated-user logic. 2023-06-11 16:39:16 +02:00
4989218a79 WIP: remove "shared keys logic" and use logged user hash. 2023-06-10 18:27:50 +02:00
2a267ea7a2 Authd: users are now logged and have an 'admin' attribute. 2023-06-10 17:26:12 +02:00
683bcb5970 makefile: setup and run-authd rules. 2023-06-08 17:33:43 +02:00
1f2f72fba8 Add a makefile. 2023-05-29 20:41:12 +02:00
d9e0e6b09b Authd now uses '-k' instead of '-K' (like other services). 2023-02-15 15:19:22 +01:00
78838f5ab9 New file structure: authd can now be used as a simple library. 2023-02-10 09:51:53 +01:00
34f1077757 Update whole structure + new LibIPC API. 2023-02-09 17:55:34 +01:00
3ddcd181dd hexdigest => hexfinal 2023-01-25 05:53:35 +01:00
841d2dc7c2 Filling tho responses array. 2020-12-13 03:00:45 +01:00
c39e639ab1 Add a reference to the AuthD::Service definition in the client. 2020-12-04 00:08:24 +01:00