mirror of
https://github.com/spacedriveapp/spacedrive.git
synced 2025-12-11 20:15:30 +01:00
* add keys router * make progress on keymanager integration * make name non-negotiable * hyphenate encryption algorithm names * Revert "make name non-negotiable" This reverts commit 9c0f51329e5d7cceea2d6ade0b8124a79806b747. * add some more keymanager queries * add master password and default key routes * add newly registered key to db + fmt * clippy, formatting and `updateKeyName` route * add automount to schema+automount keys where `true` * update bindings * working key add/mount * working keylist * mounted keys show first * cleanup code * add comments, code cleanup, more functions * unmount all keys button * comment and keymanager `clear_master_password()` * add no keys available message * fix unmount button * use dashmap for concurrency * fix missing keylist issue and add invalidate query macro * set correct RSPC types * statically set master password (TEMPORARILY) * add remove key function within the keymanager * key dropdown menu and impl * formatting * allow `option_if_let_else` * add comment about key stats * add additional comment * rpsc error handling for the keys route * fix rspc errors with an impl * crypto crate errors to `sd-crypto::Error` * remove `map_err` * use custom result type * cargo fmt * clippy * fix builds * remove `Error::MutexLock` * fix unnecessary unwrap * mutex error handling (buggy for some reason) * clean default key logic * fix default key clearing * allow a key to be removed without bugs * implement requested changes * use a single `useMemo` * update schema with defaults * re-generate migrations * use rust enums in TS * remove dead code * remove mutate expansion * read key list from keymanager, not prisma * add "Default" key marker and cleanup TS * rustfmt * remove dead code