Commit Graph
12 Commits
Author SHA1 Message Date
zeekay 0d7a523c3e security: add orgID multi-tenancy isolation, rename badger to zapdb
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
2025-12-27 22:41:08 -08:00
zeekay b45ac639ac Fix remaining import formatting issues
- Run goimports on all pkg files
- Ensure consistent import grouping throughout codebase
2025-08-02 22:30:28 -05:00
zeekay 4ec50522c9 Add benchmarks, tests, updated docs 2025-08-02 15:27:50 -05:00
anhthii 1ee63ba4cb Relocate package 2025-04-30 19:06:46 +07:00
anhthii 90ded247db implement utility clis 2025-04-29 20:07:08 +07:00
anhthii 2176a1cff5 Update mask logic 2024-10-04 21:19:26 +07:00
anhthii 9eb4a6562e Update configuration load logic, mask sensitive data 2024-09-22 20:03:27 +07:00
anhthii c8423ae1dc Fix load config, it doens't load environment variables into struct 2024-09-22 20:14:59 +07:00
anhthii df73108768 Implement connection for prod 2024-09-21 20:52:40 +07:00
anhthii a3f67129db Fix parse config 2023-12-22 21:48:24 +07:00
anhthii 2c10f933d2 Refactoring main file, separate into event consumer 2023-12-22 21:02:16 +07:00
anhthii 239c37c65e Init config from viper 2023-12-08 20:39:10 +07:00