I would like to establish a secure NSA proof connection between two peers with perfect forward secrecy and everything else one would expect.
What is the best way to do this in python so that its standards compliment and I could easily communicate with a peer reimplemented in a different language.
It can be assumed the peers know each others ip/port before hand and also know of each others secp256k1 ECDSA public key that can be used to authenticate once the connection is established.
Just to be clear, I need both sides of the connection. The code for the peer awaiting the connection and for the peer initiating the connection.