Repository navigation
Feature/remote validators - #3
Merged
Merged
Conversation
- Standalone validator process (src/validator/main.ts): one key share plus an ed25519 identity key, behind a bearer-token HTTP API. RemoteValidator implements the same ValidatorNode interface as the in-process LocalValidator. - The DKG coordinator is treated as hostile: every DKG message is signed by its sender and session-bound. Dealers refuse to deal on a missing or forged transport key, forged complaints are ignored, and a missing share aborts instead of triggering a public reveal. Validators sign the result with a transcript hash, and the coordinator aborts on any mismatch. - Validators refuse to re-key while holding a share. - The backend connects via VALIDATOR_CLUSTER_FILE: it runs the DKG over HTTP on first start, reuses shares afterwards, and tolerates up to n-t unreachable validators. - npm run validators:dev starts a local 5-process cluster. - data/ is now fully gitignored (shares, identities, API tokens). New tests: 7 malicious-coordinator DKG tests, and 6 remote-validator tests over real HTTP (DKG, settlement, auth, n-t down, below-t failure). 55 backend tests pass.
…ng trust Document how to run validators as separate processes, list each coordinator attack with its defence, and state precisely what is still trusted: validators don't yet verify on-chain batch sealing before releasing shares, and validators are run by one party. Contributor issues updated: Docker Compose + TLS deployment, and on-chain ciphertext commitments checked by validators.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
npm run validators:devstarts 5).Verified
Still trusted (documented)
Validators don't yet check on-chain that a batch is sealed before releasing shares. That's next: committing ciphertext hashes on-chain.