Skip to main content

Module mem_key_locker

Module mem_key_locker 

Source
Expand description

§In-memory key locker

Reference implementation of crate::client::key_locker::key_locker::KeyLocker and crate::client::key_locker::key_locker::KeyLockerManager that keeps every account’s plaintext crate::tools::keys::Keys in a HashMap for the lifetime of the process.

Used by tests and short-lived tools that don’t need on-disk persistence. In the integration-test harness every simulated user gets a MemKeyLocker, so switching accounts, signing, and the guest fallback all exercise the same code paths as a production locker.

Structs§

MemKeyLocker
MemKeyLockerManager