Refactor: Tauri core idiomatic cleanup (zeroize, dedup, mutex poisoning) #88
Labels
No labels
area:api
area:core
area:docs
area:infra
area:ux
dependencies
documentation
duplicate
good first issue
help wanted
invalid
question
rust
status:complete
status:partial
status:planned
type:bug
type:design
type:feature
type:infra
type:refactor
type:refactor
type:research
type:ux
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
icub3d/decentcom#88
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Category: Refactor / idiomatic (Tauri core) — found in code review 2026-07-07.
Collection of lower-urgency cleanups in
client/src-tauri:zeroizefeature toed25519-dalek—SigningKeyis not zeroized on drop today; everySigningKey::from_bytesleaves expanded secret material in freed heap (identity.rs:297,314,291). Wrap intermediate mnemonicStrings inZeroizing.get_signing_key_forandget_seed_for(identity.rs:297/:314) into one seed loader..lock().unwrap()(identity.rs:95,151,180,265,346) — a panic while holdingACTIVE_ACCOUNTturns every later identity op into a crash. Useunwrap_or_else(|e| e.into_inner())orparking_lot.load_accounts_indexsilentlyunwrap_or_default()s a corrupt index (identity.rs:71) → surface a distinct error.