an unlock session: password in, signatures out, auto-lock, nothing else #17
Reference in New Issue
Block a user
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?
Parent: #2
Scope
A
Sessioninwallet-corethat holds decrypted key material in memory behind a mutex, withunlock(password),lock(), an idle timer, andsign(account, payload, context). Tauri commands:unlock,lock,is_locked, and every signing command routes through the session. Password-only for now; the OS keychain is a separate follow-up child.Acceptance
Every command that needs a key returns
WalletError::Lockedwhen locked. Idle for the configured interval locks. A memory dump of the process afterlock()does not contain the seed (test with a known test seed and a scan of/proc/self/memon Linux).Depends on
The keystore child.