spacemeshos / go-spacemesh

Go Implementation of the Spacemesh protocol full node. 💾⏰💪
https://spacemesh.io
MIT License
770 stars 215 forks source link

p2p id should be regenerated at node start #3786

Open pigmej opened 2 years ago

pigmej commented 2 years ago

p2p id should be regenerated at node start otherwise, the potential attacker can attack a given ID explicitly.

During discussions, it was commonly agreed that we should regenerate that ID on node start to make this set of attacks harder.

dshulyak commented 2 years ago

we definitely can't do it for bootnodes, as id is a part of bootnode url

i think it was @noamnelke concern that using the same p2p identity leaks metadata, and someone can find the connection between p2p id and smesher id by monitoring traffic patterns.

pigmej commented 2 years ago

We could potentially have it done "post genesis" to increase the network security.