Skip to content
Snippets Groups Projects
  1. Jul 11, 2023
  2. Jun 21, 2023
  3. Jun 20, 2023
  4. Apr 30, 2023
  5. Dec 18, 2022
  6. Apr 05, 2022
  7. Apr 03, 2022
  8. Aug 06, 2021
  9. Mar 30, 2021
  10. Jan 11, 2021
  11. Nov 30, 2020
  12. Nov 20, 2020
  13. Sep 09, 2020
  14. Sep 06, 2020
  15. Dec 04, 2019
  16. Dec 03, 2019
  17. Nov 28, 2019
  18. 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
Loading