Skip to content
Snippets Groups Projects
  1. Jun 20, 2023
  2. Apr 30, 2023
  3. Dec 18, 2022
  4. Apr 05, 2022
  5. Apr 03, 2022
  6. Aug 06, 2021
  7. Mar 30, 2021
  8. Jan 11, 2021
  9. Nov 30, 2020
  10. Nov 20, 2020
  11. Sep 09, 2020
  12. Sep 06, 2020
  13. Dec 04, 2019
  14. Dec 03, 2019
  15. Nov 28, 2019
  16. Nov 27, 2019
    • Jonas Jelten's avatar
      database: secret key updating support · 1ad1487e
      Jonas Jelten authored
      other notable changes:
      * `secret` is now initialized with a 32 0-byte key
      * `permissions` has a new colum called `hidden` which defaults to `false`
      * new functions for key updating:
        * keys are generated by sha256(random data + previous key)
        * the random data is transmitted to door firmware,
          and after this was successfull, back to the database, which then
          also generates the new secret key
        * `gen_keyupdate`: create a message for the firmware that
                           invokes the key update
        * `update_signingkey`: call it after the door firmware key was updated
      * `user_mod` function now selectively updates only changed user fields
      * renamed `first_admin_enable` to `manual_admin_enable`
      * remove `user_del` in favor of new `user_set_visibility`, which
        can hide/unhide a user from the user list. that way we can retain
        the change history and permission grant order
      * the `setup.sql` file is now one transaction
      1ad1487e
  17. Nov 17, 2019
  18. Oct 12, 2019
  19. Jul 23, 2019
  20. Jul 16, 2019
  21. Jul 14, 2019
Loading