Commit Graph

109 Commits

Author SHA1 Message Date
Nadja Reitzenstein
beecb54d38 Move miette towards edges of BFFH for more structured error reporting 2023-01-09 17:05:46 +01:00
Kai Kriegel
0716a75ee6 Add support for binary FabReader Mechanism 2023-01-02 05:00:29 +00:00
Kai Kriegel
0380e02f3f reworked CI 2023-01-02 03:59:09 +00:00
TheJoKlLa
410ed8cb33 Revert binarayfabfire 2022-11-01 15:00:52 +01:00
Kai Jan Kriegel
7a941c3338 actually return the value 2022-11-01 13:24:04 +00:00
Kai Jan Kriegel
8776fa3ca2 return correct length from step 2022-11-01 13:24:04 +00:00
Kai Jan Kriegel
5c4cb32d1a initial support for binary version of FabFire 2022-11-01 13:24:04 +00:00
Nadja Reitzenstein
0ed53f5cc9 Update to latest rsasl 2022-11-01 10:47:51 +01:00
Nadja Reitzenstein
3cf152a164 Port rsasl 2022-10-05 17:28:47 +02:00
Nadja Reitzenstein
ec1cac9443 Update process initiator to make shelly-timeout doable 2022-08-22 19:05:57 +02:00
Nadja Reitzenstein
e3423c7786 Improve error messages on missing config 2022-07-24 17:51:17 +02:00
Nadja Reitzenstein
9346e433e1 Refactor Config into dhall module 2022-07-24 17:11:28 +02:00
Nadja Reitzenstein
aeaae4cd7b Add dumping the user db 2022-07-24 16:39:33 +02:00
Nadja Reitzenstein
218a316571 Fix log format settings 2022-07-24 16:07:49 +02:00
Nadja Reitzenstein
70c94feced Implement password change functionality 2022-07-11 12:30:26 +02:00
Nadja Reitzenstein
a79293add1 Better error wrapper type 2022-07-11 12:14:56 +02:00
Nadja Reitzenstein
c9a8ef7db4 Return a better error when --load is given a directory
Closes: #55
2022-06-24 15:16:46 +02:00
Nadja Reitzenstein
257fbf5506 Output plentiful trace info for API calls 2022-06-24 14:35:31 +02:00
Nadja Reitzenstein
1ff3f2afb7 log all api calls with TRACE level 2022-06-24 13:57:51 +02:00
Nadja Reitzenstein
13bbe2bee9 Add a connection-specific span to each API handler 2022-06-24 12:25:52 +02:00
Nadja Reitzenstein
77e0935945 Allow tracking cgroups with futures 2022-06-23 21:19:38 +02:00
Nadja Reitzenstein
e7358838d5 Oh whoops handle that 2022-06-23 17:31:57 +02:00
Nadja Reitzenstein
18d69063fd Even more console shenanigans 2022-06-22 19:01:58 +02:00
Nadja Reitzenstein
2d8d6f9938 tracing more data 2022-06-22 14:43:14 +02:00
Nadja Reitzenstein
287ca9806d Console is attached and compiles 2022-06-21 22:24:40 +02:00
Nadja Reitzenstein
58f40d98ed Implement PermissionSystem::getRoleList()
Closes: #62
2022-06-20 15:20:00 +02:00
Nadja Reitzenstein
a66303566a Process initiator working 2022-06-18 16:52:30 +02:00
Nadja Reitzenstein
6d8d1384d9 Reimplement the dummy initiator 2022-06-07 14:05:57 +02:00
Nadja Reitzenstein
5f2214abe9 Switch out anyhow for miette 2022-06-02 17:46:36 +02:00
Nadja Reitzenstein
17fd08b7e5 More trace output of role checking 2022-05-31 13:45:51 +02:00
Nadja Reitzenstein
a43c38c118 Better errors when the db directory is missing 2022-05-31 13:11:48 +02:00
Kai Jan Kriegel
50b4394cfd update fabfire desfire appid 2022-05-24 23:41:42 +02:00
Nadja Reitzenstein
f905b1f375 Slightly more logging during authentication 2022-05-20 18:19:05 +02:00
Nadja Reitzenstein
25df5bf5b2 Switch to shadow-rs
Closes #58
2022-05-18 17:01:24 +02:00
Nadja Reitzenstein
c435f76d08 --version talks about API version too 2022-05-14 15:36:32 +02:00
Nadja Reitzenstein
d591daa884 Start on improving a few version thingies 2022-05-14 15:09:35 +02:00
Nadja Reitzenstein
d6858ab5a5 rustfmt 2022-05-05 19:22:02 +02:00
Nadja Reitzenstein
9e2be12fbd Make unit tests compile 2022-05-05 17:22:54 +02:00
Nadja Reitzenstein
2d9f30b55b Run rustfmt 2022-05-05 15:50:44 +02:00
Nadja Reitzenstein
cae3b3a83e Correcly dump and recreate user db on --load 2022-04-30 20:52:32 +02:00
Nadja Reitzenstein
cfaf4d509e Better error reporting for auth
Fixes: #49
2022-04-30 20:22:51 +02:00
Nadja Reitzenstein
505afccbf8 Implement addUserFallible instead of addUser 2022-04-28 20:38:44 +02:00
Nadja Reitzenstein
ed10b15a10 Only set search cap for manage for now 2022-04-28 20:35:06 +02:00
Nadja Reitzenstein
869f3d5e5f Add user search impl 2022-04-28 20:33:46 +02:00
Nadja Reitzenstein
b6c9b61511 impl relevant proto changes 2022-04-27 20:27:14 +02:00
Nadja Reitzenstein
46e3552e04 Implements a first bit of User management. 2022-04-27 20:19:04 +02:00
Nadja Reitzenstein
f4d793621c Remove doc warnings for now and fix others 2022-04-27 17:30:04 +02:00
Nadja Reitzenstein
4e10a981b2 Return full version string for --version
Fixes #53
2022-04-27 17:23:05 +02:00
Kai Jan Kriegel
df64d43e03 ran cargo fix 2022-04-26 23:21:43 +02:00
Kai Jan Kriegel
ba99f6f131 fixed Dockerfile 2022-04-26 23:18:50 +02:00