spacedrive/crates
jake fbd8b6d199
[ENG-327] Crypto refactor (#510)
* fix secret key showing as `Some()` when it's empty

* rename function

* use `uuid` feature of `rspc`  so clippy works with `--all-features`

* remove dead error

* update clippy rules

* more idiomatic + cleaner hashing, that handles secrets better

* remove dead code + minor refactor of the KM

* cleanup`KeyManager::get_key()`

* cleanup keys router

* variable inlining, idiomatic rust, etc

* clean up encrypt/decrypt jobs

* embed preview media into encrypted files

* even more idiomatic rust

* fix previous file extension code (no amount of idiomatic rust can fix bad patterns)

* hopefully make large serialization slightly more efficient

* remove dead code + old tests

* inline key derivation (not so sure about this one)

* use `then` instead of `if`

* stop using expensive clones

* add `Protected::into_inner()` to prevent `.expose().clone()` patterns

* use `tokio::fs::File` where possible

* add and use `JobError::MissingData`

* use `|| null` for the secret key

* use `block_in_place` for large r/w sync tasks
2023-01-10 12:36:28 -08:00
..
crypto [ENG-327] Crypto refactor (#510) 2023-01-10 12:36:28 -08:00
ffmpeg ENG 223 Location Awareness (#468) 2022-12-31 00:53:24 +08:00
file-ext ENG 223 Location Awareness (#468) 2022-12-31 00:53:24 +08:00
p2p Merge branch 'main' of https://github.com/spacedriveapp/spacedrive 2022-10-17 01:36:05 -07:00
prisma-cli Beginning of sync stuff (#502) 2023-01-04 23:11:55 -08:00
sync Beginning of sync stuff (#502) 2023-01-04 23:11:55 -08:00
sync-generator Beginning of sync stuff (#502) 2023-01-04 23:11:55 -08:00