mirror of
https://github.com/spacedriveapp/spacedrive
synced 2024-07-04 13:23:28 +00:00
* super barebones keychain start * working+unfinished linux keychain * add `copy` to `Identifier` and add `delete()` * add generic errors + code cleanup * cleanup code & add support for apple keychains * remove `users` dep * use uppercase UUID and tweak apple `account` variable * revert uppercase change and clean up linux labels * code cleanup & add a readme to the crypto crate * remove useless `map` * correctly handle keyring not supported errors * add `Send` to `Box<dyn Keyring>` * remove useless `cfg`s * only return `Ok()` if we support keychains (pls work CI) * clippy * Minor fixes --------- Co-authored-by: Ericson Fogo Soares <ericson.ds999@gmail.com> |
||
---|---|---|
.. | ||
assets | ||
benches | ||
examples | ||
src | ||
Cargo.toml | ||
README.md |
Crypto
This crate contains Spacedrive's cryptographic modules.
This includes things such as:
- The key manager
- Encryption and decryption
- Encrypted file header formats (with extremely fast serialization and deserialization)
- Key hashing and derivation
- Keyring interfaces to access native OS keystores
It aims to be (relatively) lightweight, easy to maintain and platform-agnostic where possible. It does contain some platform-specific code, although it's only built if the target matches.