Skip to content
Snippets Groups Projects
Commit f214465c authored by Éloïs's avatar Éloïs
Browse files

[ref] change ACK message (remove double signatures)

parent 0e6ac43f
No related branches found
No related tags found
1 merge request!8WIP: WS2P v2
......@@ -496,10 +496,11 @@ RES_SYNC_CHUNK := A WS2P Public node that asks to synchronize sends its PeerCard
| data name | size in bytes | data type |
|:-------------:|---------------|-----------|
| challenge_sig | ? | SigBox |
| challenge | 32 | [u8;32] |
Each node must sign the challenge of the other to prove that it's in possession of the private key corresponding to the public key under which it identifies.
challenge_sig := SigBox of the challenge given by the other node.
challenge := The challenge given by the other node in their CONNECt message.
The message is already signed at the container level, so there is no need to repeat the signature in the ACK message payload. On the other hand, the challenge to be signed must be in the payload.
### FLAGS message
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment