xous-core/services/pddb/src
bunnie 0844b3e961 add formatting check and UX flow for formatting; redo salt (again)
probably should have split this into two commits. oh well.

first part introduces a check to see if root keys are initialized,
and if so, tries to mount the PDDB. If it can't mount, it asks
the user if they want to format it. It also updates the progress
of the fromatting.

the second part redoes the salt once again. After some discussion
SHA512/256 is also resistant to length extension attacsk so we
don't need to use the HMAC technique suggested. Would prefer to
reduce the number of algos to analyze, so we're going to a simple
SHA512/256 hash of the salt/basis name/plaintext password to generate
the salt that goes into the bcrypt routine that ultimately generates
the final key used by the system.
2022-01-03 16:51:51 +08:00
..
backend add formatting check and UX flow for formatting; redo salt (again) 2022-01-03 16:51:51 +08:00
frontend clean up the structural definition of the dictionaries and keys 2021-11-16 18:45:24 +08:00
api.rs perhaps an ill-fated exercise to randomize journal number starting points 2022-01-02 20:26:36 +08:00
backend.rs clean up some warnings before moving on to further integration 2022-01-02 15:07:48 +08:00
frontend.rs commit to journal of bad ideas issue #243: a misguided attempt at a PDDB API. 2021-10-31 22:58:20 +08:00
lib.rs update a comment in the readme. 2021-11-23 15:55:27 +08:00
main.rs add formatting check and UX flow for formatting; redo salt (again) 2022-01-03 16:51:51 +08:00
tests.rs add formatting check and UX flow for formatting; redo salt (again) 2022-01-03 16:51:51 +08:00
ux.rs add interlocking so multiple threads don't interfere with each other 2021-12-17 01:55:36 +08:00