spacedrive/crates
jake b5c571541e
[ENG-256] Crypto Crate Refinements (#410)
* add experimental preview media support

* clippy+formatting

* add support for mk/pvm nonces

* fix cursor positioning+size deserialization bug

* clippy+formatting

* cleanup code and add `decrypt_preview_media()`

* update comment

* remove `Mode` from `Keyslot`

* use little-endian `usize` for media length

* remove memory objects

* remove mode enum

* add `.zeroize()` to `Protected<>`

* remove `Mode` ser/de

* refactor, remove `Mode`, add helper functions

* formatting

* remove unused error

* update comments/docs

* comments, fix large files, insane performance

* doc updates and fix decrypt zeroize

* revert to 1048576 byte `BLOCK_SIZE`

* `Keyslot` and `PreviewMedia` constructors now handle encryption

* add metadata item with associated functions

* update comments, clean up useless items

* add metadata support within the header

* remove stray 128 in length calcs

* include metadata in header ser/de

* fmt+clippy

* rework keyslot decryption

* formatting

* api changes, code cleanup

* docs for `stream.rs`

* massive documentation re-write

* mark expensive doc test as ignore

* minor api tweaks

* add examples

* formatting+linting

* finalise documentation and add more examples

* formatting
2022-10-13 15:25:42 -07:00
..
crypto [ENG-256] Crypto Crate Refinements (#410) 2022-10-13 15:25:42 -07:00
ffmpeg merge duplicate prettier config and format repo with it 2022-10-07 07:45:15 +08:00
file-ext sd extensions crate 2022-10-06 18:10:03 -07:00
p2p (hotfix) p2p preventing compile 2022-10-08 11:30:17 -07:00
prisma-cli move prisma schema and migrations to /core (#392) 2022-10-04 02:32:46 -07:00
sync merge duplicate prettier config and format repo with it 2022-10-07 07:45:15 +08:00