00c202a63a
New DecodeToken request.
2023-06-14 18:39:23 +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
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
f58de2ce36
Load a file to get the AuthD::Service definition.
2023-06-13 03:24:08 +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
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
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
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
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
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
ccd288a156
Take into account connections and disconnections.
2020-11-26 06:56:20 +01:00
9b33f686bd
Client bugfix.
2020-11-26 04:02:19 +01:00
dbcfa4880b
New authd code structure.
2020-11-22 13:49:34 +01:00
b717be649f
Configuration simplification.
2020-11-08 22:50:24 +01:00
b70443409b
GetContacts request.
2020-10-31 00:46:14 +01:00
b69afedbd2
Merge branch 'master' of ssh://git.baguette.netlib.re:2299/Baguette/authd
2020-10-30 18:59:38 +01:00
df22fe8a9b
recreate_indexes
2020-10-26 00:16:47 +01:00
bf0571c31b
password too short
2020-10-25 23:54:37 +01:00
d12c125c22
fix key management dedup
2020-10-25 19:36:28 +01:00
9524f969c4
print_password_recovery_parameters
2020-10-25 19:09:13 +01:00
4b68daf016
Server: simpler configuration system.
2020-10-25 03:57:58 +01:00
21480c5866
Two stage option parsing.
2020-10-25 02:03:07 +01:00
cf9c6220e6
Fix: Baguette::Configuration::Auth in the wrong file.
2020-10-23 19:16:49 +02:00
43668b8e5d
Baguette::Configuration::Auth
2020-10-23 16:30:35 +02:00
9a921b6ac7
Display the target class on JSON parsing error.
2020-10-14 17:02:06 +02:00
ecd6b555a1
Merge branch 'master' of ssh://git.baguette.netlib.re:2299/Baguette/authd into master
2020-10-14 13:30:17 +02:00
7c7c5641e1
Debug message removed.
2020-10-14 13:28:07 +02:00
624289a112
Merge branch 'master' of ssh://git.baguette.netlib.re:2299/Baguette/authd
2020-10-13 18:05:41 +02:00
f8d98ab1a1
authc CLI for authd
2020-10-13 18:01:59 +02:00
585fee5b9f
Some debug messages removed.
2020-10-11 21:00:41 +02:00
b90facdb82
Merge branch 'master' of ssh://git.baguette.netlib.re:2299/Baguette/authd into master
2020-10-09 15:52:46 +02:00
851a3accfe
Permission checking can be done by users.
2020-10-09 15:51:36 +02:00
183c807813
Fixing a wrong message sent to the user.
2020-10-09 03:24:27 +02:00
0508c99b43
More precise permission checking during EditProfile requests.
2020-10-02 22:05:00 +02:00
bda24247f0
Merge branch 'master' of ssh://git.baguette.netlib.re:2299/Baguette/authd into master
2020-09-26 14:27:59 +02:00
25361bf7aa
Fixes auth-user-add.
2020-09-26 14:27:47 +02:00
9daf93147d
SearchUsers now case insensitive.
2020-09-08 14:51:16 +02:00
a8ae8d1430
Adding a permissions manager utility.
2020-09-05 02:46:03 +02:00
5e46877140
Non matching user = debug, not error.
2020-09-05 01:47:47 +02:00
dc1a57c328
Baguette::Log.
2020-08-28 01:50:05 +02:00
030f6cf1ba
Email editing WIP.
2020-08-27 18:14:44 +02:00
bd9c196cc6
New logging system.
2020-08-24 17:36:22 +02:00
ecc509ae24
Proper response sent on password recovery.
2020-08-17 15:32:47 +02:00
db80f3b1bc
Password recovery stuff.
2020-08-12 18:33:32 +02:00
2e8a2d448d
Profile edition overhauls, RO profile properties.
2020-08-10 23:45:44 +02:00
83d9513206
Clients fixed.
2020-07-23 19:39:58 +02:00
54a2ba563f
timer is now handled correctly.
2020-07-18 17:15:40 +02:00
fc0939a1cd
Authd adapted to libipc version 0.7.
2020-07-14 17:48:16 +02:00
28c30b110d
Following the libipc master branch.
2020-07-13 14:43:19 +02:00
7e1277e2d1
Search users on login and full name (in their profile).
2020-06-25 16:44:35 +02:00
7b14d4a971
Merge branch 'master' of ssh://git.baguette.netlib.re:2299/Baguette/authd
2020-05-08 14:51:10 +02:00
2ed19632f2
Authd: mailer options added.
2020-05-08 14:50:15 +02:00
e1567258f4
Token responses send the UID as well.
2020-04-25 10:34:07 +02:00
f6bbf77732
Profile edition request.
2020-04-18 21:21:17 +02:00
e47f7e7f75
Registration dates sent to clients on GetUser and similar.
2020-04-15 11:39:34 +02:00
55573dd330
shared_key no longer required to validate users.
2020-04-03 16:42:45 +02:00
Philippe PITTOLI
18e06134fd
Authd::Request::SearchUser
2020-03-23 15:06:54 +01:00
Philippe PITTOLI
817425de8d
Merge branch 'master' of ssh://git.karchnu.fr:2202/WeirdOS/authd
2020-03-23 06:59:42 +01:00
Philippe PITTOLI
189e22902e
Recording user registration and last connection dates.
2020-03-23 06:54:45 +01:00
6f4f4b234a
Improved UI to print malformed requests.
2020-02-26 14:54:14 +01:00
2678ccaf9f
Small typo in printed strings.
2020-02-26 14:46:30 +01:00
02c1d06dd1
Primitive WIP UI added, useful mostly for debug.
2020-02-26 14:45:40 +01:00
0fb17f3be6
Responds with error on unknown login.
2020-02-26 14:36:54 +01:00
Philippe PITTOLI
bd68148924
Password Recovery.
2020-02-23 20:37:50 +01:00
Philippe PITTOLI
b6cbe6c84a
ModUser takes uid|login, can change phone and email
2020-02-09 15:47:44 +01:00
Philippe PITTOLI
f66a08ff60
removed a useless variable
2020-02-07 03:54:26 +01:00
Philippe PITTOLI
fb4a1a2303
Authd: updated to the latest ipc.cr version (0.5.2).
2020-02-06 10:20:57 +01:00
Philippe PITTOLI
10472d5c0d
On user registration: email address verification and sending activation email.
2020-01-27 13:16:16 +01:00
Philippe PITTOLI
e789a16ac6
Run the activation-mailer.
2020-01-23 15:45:05 +01:00
Philippe PITTOLI
8ddf5cf316
User contact activation done.
2020-01-22 14:43:58 +01:00
Philippe PITTOLI
d5f2b3816f
bugfix ValidateUser
2020-01-22 10:19:11 +01:00
Philippe PITTOLI
af44f82e99
user_validation
2020-01-22 10:13:59 +01:00
Philippe PITTOLI
bef2e73fff
Contact informations.
2020-01-22 01:55:57 +01:00
7610025334
Fixes user creation in certain cases.
2020-01-20 13:44:48 +01:00
0e9d595a23
Exception handling.
2020-01-04 09:02:31 +01:00
e1c204b742
DODB API updates.
2020-01-04 08:40:13 +01:00
e8ace8a6eb
Fixes an error client.
2019-12-19 03:58:00 +01:00
efa482d4f3
--help banner added.
2019-12-17 15:56:42 +01:00
6b08786947
Improves an error message.
2019-12-17 13:40:10 +01:00
b5c055b553
Major update that includes various breaking changes.
...
- backend is now a DODB::DataBase, not a passwd and group file anymore.
- extras have been removed. A WIP User#profile field exists, that can be
a JSON::Any. No profile validation has been implemented as of this
commit.
- authd now provides permission over resources, which is more precise
than checking whether a user is part of a group.
- permissions are now checked through authd once again: tokens don’t
hold permissions anymore.
- tokens are now minimal authentication “keys” to prove who you are and
nothing more.
2019-12-15 23:38:49 +01:00