entropyxyz / entropy-core

Protocol and cryptography development.
https://docs.entropy.xyz/
GNU Affero General Public License v3.0
9 stars 1 forks source link

Sync keyshares from multiple TSS servers #546

Open HCastano opened 9 months ago

HCastano commented 9 months ago

During sync, a TSS only requests key shares from a single server. We should assume that servers can be Byzantine and provide wrong information.

Some possible ways to improve the situation:

HCastano commented 9 months ago

I talked to @fjarri about this, and he mentioned that we should be able to hash the public parts of the keyshares and put that hash on chain (maybe once a session a validator is picked to do this?).

Then, when a TSS is syncing it can check if the keyshares it has downloaded from its peers match the on-chain hash.