entropyxyz / entropy-core

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

Fix test for rejecting a TSS node who is not part of the signing committe #1028

Closed ameba23 closed 1 month ago

ameba23 commented 1 month ago

This is based off https://github.com/entropyxyz/entropy-core/pull/1026 and fixes the test which checks that a TSS server who is not a member of the expected signing committee is unable to participate in the signing protocol.

This test was actually pretty broken before - and i am to blame. It was sending the signature request to one validator, and then attempting a bogus connection to another validator. Which correctly failed because they were not expecting a signing session at all. But what we want to test here is that when they are expecting a signing session, they will only allow members of the signing committee to connect.