Commit Graph

429 Commits

Author SHA1 Message Date
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
Nadja Reitzenstein
2e5f343d52 Tracing and dumping 2022-03-15 19:56:41 +01:00
Nadja Reitzenstein
48003ef51c Cleanup authentication 2022-03-15 19:16:33 +01:00
Nadja Reitzenstein
a111a86266 Impl roles 2022-03-15 19:14:04 +01:00
Nadja Reitzenstein
d7467989ef Splitting bffhd setup routines 2022-03-15 19:13:55 +01:00
Nadja Reitzenstein
c317101b93 Merge remote-tracking branch 'origin/feature/desfire-auth' into feature/api-0.3
* origin/feature/desfire-auth:
  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
2022-03-15 18:58:51 +01:00
Nadja Reitzenstein
5c9b72c37d Session initialization 2022-03-15 17:52:47 +01:00
Nadja Reitzenstein
2e9c7fbc19 Make Users DB a global resource 2022-03-15 16:28:11 +01:00
Nadja Reitzenstein
4ff0abd161 DB indexing code 2022-03-15 16:27:52 +01:00
Nadja Reitzenstein
75c449c83a Fix auth 2022-03-13 23:58:03 +01:00
Nadja Reitzenstein
15f31ffd7c Update API 2022-03-13 23:31:00 +01:00
Nadja Reitzenstein
ddd8add270 User db & loading 2022-03-13 22:50:37 +01:00
Nadja Reitzenstein
c4dac55b23 Copy actor types 2022-03-13 21:54:48 +01:00