bitmask-stack / bitmask-stack/bitmask-core
Minimal Secrets Passing
- Dominant language
- Rust
- Stars
- 95
- Forks
- 22
- PR merge metrics
- No merged PRs in 30d
Description
It'd be better if we weren't constantly passing hashes and private keys and descriptors back and forth between WASM and JS. WASM could just keep the secrets in zeroizable memory, and even the hash could be kept in [gloo_storage::SessionStorage](https://docs.rs/gloo-storage/latest/gloo_storage/struct.SessionStorage.html). This would make the library stateful, so methods will be needed to check whether it's been authenticated. Perhaps this could be done through a fingerprint method; if no seed fingerprint is returned, then the wallet either can't access descriptors, nor does it have a hash.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.