Commit Graph
18 Commits
Author SHA1 Message Date
zeekay 3954d11f50 fix: goimports formatting + CGO_ENABLED=0 for CI tests
- Run goimports -w on all 17 Go files with formatting issues
- Set CGO_ENABLED=0 on all CI steps (test, lint, build, CodeQL, SBOM)
- Remove -race flag from tests (requires CGO which pulls in blst.h)
- All 17 test packages pass with CGO_ENABLED=0
2025-12-27 23:01:00 -08:00
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
CodyandGitHub c6e2c3c06f Add integration, unit testing CI pipelines (#48)
* Add comprehensive tests for multiple pkg

* Add db_path to config

* Add e2e testing pipeline

* Add github workflow

* Remove config.test.yaml

* Fix lint issue

* Increase timeout

* Add e2e testing for signing

* Skip signing if node is not in participant list

* Code cleanup

* Add e2e testing for signing and resharing

* Increase timeout

* Add test instructions

* Update github workflow branching

* Add vulnerabilties check in CI

* Fix ci
2025-07-06 14:26:03 +07:00
anhthii e7da31eb7c Add version for cli 2025-04-30 21:44:48 +07: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 35be93988c Implement service discovery 2023-12-22 19:16:30 +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
anhthii 965341741a Implement logging package 2023-11-05 19:57:41 +07:00
anhthii baa4ada319 make waiting all parties work 2023-11-04 20:26:30 +07:00