p2p authentication and encryption BIPs



Summary:

The discussion revolves around the idea of adding encryption to SPV wallets. The concern is that mixing encrypted messages and messages sent to everyone could cause problems, so it would be better to make the private connection out-of-band. However, the idea of adding encryption as a feature is still being considered since the number of SPV wallets is expected to increase. The suggestion is to give encrypted messages their own port number. The question is raised about whether or not different ports would make sense, and how this would affect p2p address management. It is suggested that rebroadcasting messages on both (encrypted and non-encrypted) channels would prevent two networks from developing, but this would double the required bandwidth of the network. The proposal for adding encryption involves negotiating encryption between two peers, and then encrypting all traffic between them. The negotiation process involves exchanging session public keys, verifying identities, and exchanging identity public keys with signatures of the session ID. Once the identities have been verified and communication is encrypted, there is protection against MITM attacks.


Updated on: 2023-06-11T04:36:05.172913+00:00