spacedrive/packages
jake db5b401238
[ENG-318] Implement a KDF to derive new keys (#487)
* add blake3, `derive_key()` and clean up code

* fix a couple of things from the previous commit

* add context strings for root/file key derivation

* add salt to schema

* update refs of `salt` to `content_salt` within the keyslot

* cleanup code and add kdf salt to the keyslot

* rename salt to content salt in examples

* cleanup header code + remove dead code

* implement key derivation for keyslots

* gen new migrations that contain a salt column

* keymanager refactor (code is very idiomatic now) - needs thorough testing

* further cleanup

* clippy

* add a master password context string

* use key derivation for deriving keys from the root key

* update to use new code and remove `match` from `en/decrypt_bytes()`

* clippy

* use less unwraps in library manager code

Co-authored-by: Oscar Beaumont <oscar@otbeaumont.me>
2022-12-30 20:09:44 +00:00
..
assets ENG 223 Location Awareness (#468) 2022-12-31 00:53:24 +08:00
client [ENG-318] Implement a KDF to derive new keys (#487) 2022-12-30 20:09:44 +00:00
config Mobile - Settings & Tags (#479) 2022-12-13 15:18:03 +08:00
interface ENG 223 Location Awareness (#468) 2022-12-31 00:53:24 +08:00
macos fix @rpath/libswiftCore.dylib error + etc (#255) 2022-06-18 17:00:57 -07:00
test-files@f7aefbb638 ENG 223 Location Awareness (#468) 2022-12-31 00:53:24 +08:00
ui ENG 223 Location Awareness (#468) 2022-12-31 00:53:24 +08:00