Commit Graph

441 Commits

Author SHA1 Message Date
Nadja Reitzenstein
3b0b4710f6 Correct CHANGELOG 2022-05-03 17:16:25 +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
c35d3bc6b1 User mgmnt api improvements 2022-04-28 21:00:03 +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
1070d9e6eb update schema submodule 2022-04-27 20:25:09 +02:00
Nadja Reitzenstein
46e3552e04 Implements a first bit of User management. 2022-04-27 20:19:04 +02:00
Nadja Reitzenstein
fe992a9446 Oh also update CHANGELOG 2022-04-27 19:22:07 +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
Nadja Reitzenstein
4ca4dc124b Pinning rsasl version to commit 2022-04-27 17:21:07 +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
Kai Jan Kriegel
2c4b3c9cd0 also build machine if user has read perm 2022-04-24 20:10:06 +02:00
Nadja Reitzenstein
846fb09433 Merge branch 'feature/api-0.3' into feature/cleanup
* feature/api-0.3: (37 commits)
  Rerun on changed BFFHD_BUILD_TAGGED_RELEASE env var
  Log version on start
  Make build step only use git info when not building a tagged release
  Reverse visibility check to properly disclose machines
  Only return `use` interface if machine is currently free or reserved by me
  allow bffh to build outside of a git repo
  enable mutistage auth
  Fix auth
  Update API
  update desfire crate to version on crates.io
  working Desfire auth in the api!
  fix stupid logic error
  initial integration of the X-FABFIRE mechnism
  Improve TLS support
  Fixes warnings
  Port to rsasl2
  More cleanup.
  Makes rumqttc futures run on the tokio runtime as required.
  Use our own MQTT URL dissector so existing configs don't break
  Fixing more warnings
  ...
2022-04-22 20:14:59 +02:00
Nadja Reitzenstein
3300105082 Implement changes from fabaccess-api#24 2022-04-22 20:09:34 +02:00
Nadja Reitzenstein
047f7bc1de sensible search return values for non-existant/non-visible resources 2022-04-22 19:57:58 +02:00
Nadja Reitzenstein
15c878e1d2 comp 2022-04-21 23:04:07 +02:00
Nadja Reitzenstein
5538dd6751 User admin methods 2022-04-21 23:04:07 +02:00
Nadja Reitzenstein
3eab5b8702 Make auditlog log 2022-04-21 23:04:07 +02:00
Nadja Reitzenstein
c402c71abc Keep old config system 2022-04-21 23:04:07 +02:00
Nadja Reitzenstein
e6682ca8a8 Remove copyright for now 2022-04-21 23:04:07 +02:00
Nadja Reitzenstein
b02afe5575 Splitting config 2022-04-21 23:04:07 +02:00
Kai Jan Kriegel
28d90f1078 bump base image 2022-03-29 19:55:09 +02:00
Kai Jan Kriegel
831b18128d fix fabfire mechanism integration and improve logging 2022-03-19 06:00:21 +01:00
Kai Jan Kriegel
41f8b83cd5 log outcome of loading user db 2022-03-19 05:54:18 +01:00
Kai Jan Kriegel
9bd1b917a2 modified dockerfile 2022-03-17 16:37:49 +01:00
Kai Jan Kriegel
8c6b53d050 reduce rsasl to minimal required features 2022-03-17 02:13:09 +01:00
Nadja Reitzenstein
33e8a62d2a Implement more API to make Borepin happier 2022-03-16 20:17:59 +01:00
Nadja Reitzenstein
b88c6f69cd Updating rsasl version 2022-03-16 19:32:19 +01:00
Nadja Reitzenstein
538b0b28f1 Importing X-FABFIRE auth mechanism 2022-03-16 19:32:03 +01:00
Nadja Reitzenstein
cb8cda39cd Rerun on changed BFFHD_BUILD_TAGGED_RELEASE env var 2022-03-16 19:14:24 +01:00
Nadja Reitzenstein
bd8c2d2173 Make build step only use git info when not building a tagged release 2022-03-16 19:14:24 +01:00
Kai Jan Kriegel
ba005b3f9f allow bffh to build outside of a git repo 2022-03-16 19:10:55 +01:00
Nadja Reitzenstein
29a44bdb6a Make capnp machines api work again 2022-03-16 19:01:09 +01:00
Nadja Reitzenstein
2b7044d498 Compile with new DB system 2022-03-16 18:10:59 +01:00
Nadja Reitzenstein
7f362c7ab4 Rerun on changed BFFHD_BUILD_TAGGED_RELEASE env var 2022-03-16 15:17:09 +01:00
Nadja Reitzenstein
80ceb4af34 Log version on start 2022-03-16 15:16:51 +01:00
Nadja Reitzenstein
dae9d0c93b Make build step only use git info when not building a tagged release 2022-03-16 15:13:30 +01:00
Nadja Reitzenstein
cc2b43a9f2 Reverse visibility check to properly disclose machines
Machines that you have disclose on are always shown.
Machines you *don't* have `disclose` on are *also* show *iff* you are using them.
2022-03-16 15:10:13 +01:00
Nadja Reitzenstein
069819bb9a Only return use interface if machine is currently free or reserved by me 2022-03-16 15:10:13 +01:00
Kai Jan Kriegel
4feb21e7fc allow bffh to build outside of a git repo 2022-03-16 05:42:56 +01:00
Kai Jan Kriegel
27539429f7 enable mutistage auth 2022-03-16 05:42:19 +01:00
Nadja Reitzenstein
1156174d7a Remove DB code that assumes alignment 2022-03-15 21:53:21 +01:00
Nadja Reitzenstein
a145efc948 LMDB does not guarantee alignment. 2022-03-15 21:24:21 +01:00
Nadja Reitzenstein
648026574f Commit on useradd 2022-03-15 20:00:52 +01:00
Nadja Reitzenstein
c0b311e14c Cargo fix 2022-03-15 20:00:43 +01:00