mirror of
https://github.com/luxfi/mpc.git
synced 2026-09-24 00:26:24 +00:00
Multi-tenancy isolation (addresses Dragonfire review MPC audit): - Add OrgID field to all event messages (keygen, sign, reshare) - Scope session dedup keys as orgID-walletID-txID - Namespace KVStore keys with org prefix (org:<orgID>:<key>) - Backward-compatible fallback to legacy unscoped keys - New org_kvstore.go with OrgScopedKey/GetKeyShareWithFallback Naming cleanup: - Rename all badger references to zapdb in code, config, tests - config.yaml: badger_password → zapdb_password - AppConfig: BadgerPassword → ZapDBPassword - Fix MPCiumVersion typo → MPCVersion