mirror of
https://github.com/spacedriveapp/spacedrive
synced 2024-07-07 05:33:27 +00:00
fbd8b6d199
* 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 |
||
---|---|---|
.. | ||
single_file.rs | ||
single_file_with_metadata.rs | ||
single_file_with_preview_media.rs |