mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-24 09:40:52 +00:00
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. |
||
|---|---|---|
| .. | ||
| backend | ||
| frontend | ||
| api.rs | ||
| backend.rs | ||
| frontend.rs | ||
| lib.rs | ||
| main.rs | ||
| tests.rs | ||
| ux.rs | ||