mirror of
https://github.com/spacedriveapp/spacedrive.git
synced 2026-04-19 05:59:16 -04:00
[ENG-361] Crypto crate docs and tests (#572)
* add hashing tests * add encryption/decryption tests * remove `reason` * add file header tests (preview media deserialization is broken) * fix keyslot reading bug * add sd-crypto testing to ci * add tests/constants for all hashing algorthms and param levels * add blake3-kdf tests * use `const` arrays for storing expected output * test for `5MiB` `encrypt_streams` and `decrypt_streams` * add invalid/mismatched nonce tests * update `primitives` docs * remove erroneous `,` * grammar tweaks * add errors to `#[should_panic]` * cleanup `stream` tests * cleanup hashing tests a little * function docs
This commit is contained in:
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
@@ -188,6 +188,9 @@ jobs:
|
||||
- name: Check core
|
||||
run: cargo check -p sd-core --release
|
||||
|
||||
- name: Cargo test sd-crypto
|
||||
run: cargo test -p sd-crypto --release --lib --all-features
|
||||
|
||||
- name: Bundle Desktop
|
||||
run: pnpm desktop tauri build
|
||||
|
||||
|
||||
Reference in New Issue
Block a user