tangle-network / dkg-substrate

Multy-party threshold ECDSA (GG20) Substrate node
https://tangle.webb.tools/
GNU General Public License v3.0
60 stars 15 forks source link

[TASK] Add offense reporting/slashing for TSS deviations #656

Closed drewstone closed 1 year ago

drewstone commented 1 year ago

Issue summary Consider the scenario that the DKG signs something other than what came through the proposal pipeline. We want to add slashing so that if any node proves the existence of one of these signatures, specifically a signature of a payload that has no record of ever being included on the DKG chain, that the reporter can profit and offender gets slashed.

An offense like this would be easily detected if its applied on-chain. It would likely be executing a malicious proposal, to steal funds or otherwise mess things up.

Malicious thinking

The bad thing is this offense wouldn't be detectable if it wasn't applied, and so it's possible that there are $t+1$ malicious nodes who are colluding in secret to sign things. Our only defense against this is the frequency which we do key rotations, which would invalidate old proposals from executing in malicious ways.

1xstj commented 1 year ago

Possible duplicate of #537

1xstj commented 1 year ago

Completed in #537