Skip to content

Conversation

@nann-cheng
Copy link
Collaborator

Added p2p channel among MPC nodes, allowing authenticated encryption between arbitrary two MPC nodes

@tuananhk13bk
Copy link
Collaborator

Added p2p channel among MPC nodes, allowing authenticated encryption between arbitrary two MPC nodes
hi @nann-cheng the term p2p here makes a bit confused. IMO that term is implied at the network layer where nodes exchanges their messages with each other via truly p2p channels (for example using pkg libp2p). Meanwhile, the current architecture is designed in a way that nodes exchange messages via the centralized queue.
You implementation is to enhance the current authentication method (ed25519 key pair) with ECDH protocol? Correct me if I'm wrong.

@nann-cheng
Copy link
Collaborator Author

Within the TSS MPC execution, there are two types of messages exchanged among MPC nodes: broadcasting message which can be public known by observer, and point-to-point messages that should be kept secret among the two parties. Currently, the scheme implement only the broadcasting message but not yet the point-to-point message type. I added that, yes it works by introducing ECDH protocol to negotiate pair-wise symmetric keys, then these keys are used to perform authenticated encryption.

@anhthii anhthii changed the title New feature: P2P channel implemented New feature: P2P channel implemented to encrypt Tss message using ECDH Aug 7, 2025
@anhthii anhthii moved this to In Progress in MPCIUM roadmap Aug 7, 2025
@anhthii
Copy link
Contributor

anhthii commented Aug 12, 2025

hi @nann-cheng there are some conflicts, can you please pull the latest change from master branch please. Thanks

@nann-cheng
Copy link
Collaborator Author

Nailed it, please let me know in case of doubt.

@anhthii anhthii merged commit be082d0 into fystack:master Aug 13, 2025
18 of 19 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in MPCIUM roadmap Aug 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants