Commit Graph

551 Commits

Author SHA1 Message Date
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
Nadja Reitzenstein
613e62c7e6 Actor loading & configuring 2022-03-13 21:34:05 +01:00
Nadja Reitzenstein
bd98f13f67 Simplify Actor impl to have a static source 2022-03-13 20:38:11 +01:00
Nadja Reitzenstein
07a7cbe42b Resources lookup impl 2022-03-13 20:33:26 +01:00
Nadja Reitzenstein
d5833f30c4 Adding machines back to config 2022-03-13 20:14:50 +01:00
Nadja Reitzenstein
cc48dcca17 DB up/down/sidegrade 2022-03-13 20:11:37 +01:00
Kai Jan Kriegel
926d200c93 update desfire crate to version on crates.io 2022-03-13 18:05:36 +01:00
Nadja Reitzenstein
df5ee9a0a1 Api framework impl 2022-03-13 17:29:21 +01:00
Nadja Reitzenstein
999463e0e9 Merge branch 'development' into feature/cleanup
* development: (21 commits)
  Update INSTALL.md
  Update INSTALL.md
  Better tls connection handling with smol::io::split
  Add development cert/key files
  Implement TLS handling
  Add rustls dependencies
  Fix #29
  Set previous user on all state changes if required
  Fix URN
  Config improvements and make shellies have a topic parameter
  Fix Machines using their name instead of their id
  Revert "added first start logic to seed db and keep state"
  Lock!
  Make machine correctly load state and set previous/current use in API
  Also catch SIGQUIT and SIGTERM and clean up properly
  Returns current user
  added first start logic to seed db and keep state
  Implement getting a machine by URN
  Also set URN and wiki links on machine lists
  Implement wiki and URN links
  ...
2022-03-12 17:31:58 +01:00
Nadja Reitzenstein
87af5fde94 Implement more API 2022-03-12 17:31:53 +01:00
Nadja Reitzenstein
ee57c2b275 Update schema 2022-03-12 15:02:15 +01:00
Nadja Reitzenstein
c5852d50fb Cleaning up code 2022-03-12 14:23:07 +01:00
Kai Jan Kriegel
5c5c9710c5 working Desfire auth in the api! 2022-03-12 10:45:09 +01:00
Nadja Reitzenstein
7015fd755a move things for the new API schema 2022-03-12 02:00:55 +01:00
Nadja Reitzenstein
b419cd5472 update schema 2022-03-12 01:56:05 +01:00
Nadja Reitzenstein
b78971a21d Update schema to new main 2022-03-12 01:28:27 +01:00
Nadja Reitzenstein
20a47d9444 Improve examples 2022-03-12 01:28:07 +01:00
Nadja Reitzenstein
f367207d01 Pull more things from 0.3.2 2022-03-12 01:27:58 +01:00
Nadja Reitzenstein
495f9cb36a Make auditlog work 2022-03-12 01:27:41 +01:00
Kai Jan Kriegel
37db05a557 fix stupid logic error 2022-03-12 00:51:42 +01:00
Kai Jan Kriegel
4611ed5b48 initial integration of the X-FABFIRE mechnism
Integrates the fabfire mechanism for use with the jorisdevice and desfire cards
2022-03-12 00:45:59 +01:00
Nadja Reitzenstein
3e4350d2cf Import auditlog from v0.3.2 2022-03-11 23:00:02 +01:00
Nadja Reitzenstein
c54b44e720 Run until signal 2022-03-11 22:43:50 +01:00
Nadja Reitzenstein
4489f710d8 Fix a segfault caused by moving into an uninitalized pointer 2022-03-11 22:43:34 +01:00
Nadja Reitzenstein
f79e73d669 update config parsing to new format 2022-03-11 22:17:51 +01:00
Nadja Reitzenstein
28340a4ad3 Improve documentation around example setup 2022-03-11 22:15:10 +01:00
Nadja Reitzenstein
13bfb2fbee Moving towards implementing the 0.3.2 featureset 2022-03-11 22:13:54 +01:00
Nadja Reitzenstein
4f36eedf6a Let's try to get this as the next v0.3 2022-03-10 20:52:34 +01:00
Nadja Reitzenstein
487dc2270d Move API back to v0.3 2022-03-10 20:52:03 +01:00
Nadja Reitzenstein
0531156b9e Improve TLS support 2022-03-09 02:40:38 +01:00
Nadja Reitzenstein
520a33f0aa Module refactor part 2 2022-03-08 18:56:03 +01:00
Nadja Reitzenstein
e643a50f4d Module refactor part 2 2022-03-08 18:52:49 +01:00
Nadja Reitzenstein
10e4ff080c Modules renaming 2022-03-08 16:41:38 +01:00
Nadja Reitzenstein
f932ff8e7a reduce warnings and do more things 2022-03-07 18:27:54 +01:00
Nadja Reitzenstein
c8623fd62b Fixes warnings 2022-03-02 17:28:41 +01:00
Nadja Reitzenstein
e130e59651 Port to rsasl2
Closes #45
2022-03-02 17:21:22 +01:00
Nadja Reitzenstein
4306b5b691 More cleanup.
Also, this MR closes #48
2022-02-26 14:45:17 +01:00