Merged
requested to merge 62-peer-should-provide-proof-that-specified-client-has-joined-him-2 into master
This MR adds a signature to every HelloMessage
with joinTime > 0
.
The signature covers the message attributes sender
, recipient
, time
, and joinTime
.
This signed message can later be used by the receiving super peer to proof to others, that the client is currently registered at it.
Therefore, a malicious super peer cannot announce itself as the relay for non-registered clients.
For backward compatibility, the signature is currently not used/enforced by the recipient.
Closes #62 (closed)