google-labs-jules[bot] f63d0c9afe feat: implement 2-of-3 SSS recovery matrix using Wasm/Rust
- Scaffolds a new Rust crate `wasm/sss_recovery` for constant-time Shamir's Secret Sharing over GF(256) with strict Wasm `zeroize`
- Implements purely typed BIP-39 fallback mapped via Deno WebCrypto in `ui/utils/bip39.ts`
- Migrates `server/recovery.ts` logic mapping Device/Voucher + Server shares with Valkey rate-limiting
- Applies mandatory in-memory JS zeroization on all reconstructed buffers

Co-authored-by: mrteye <1945243+mrteye@users.noreply.github.com>
2026-08-24 07:49:34 +00:00

14 lines
280 B
TOML

[package]
name = "sss_recovery"
version = "0.1.0"
edition = "2024"
[dependencies]
getrandom = { version = "0.2", features = ["js"] }
js-sys = "0.3.104"
wasm-bindgen = "0.2.127"
zeroize = { version = "1.9.0", features = ["zeroize_derive"] }
[lib]
crate-type = ["cdylib", "rlib"]