Closed jmhobbs closed 8 years ago
I tried to make the session key handshake more clear in https://github.com/sdmp/sdmp.github.io/pull/22 so if this is still unclear after the merge, please re-open this pull request and I'll see about writing up some more/better details.
So, Diffie-Helman is there to establish a shared secret for the session key, however the spec says...
If the nodes have each others public keys before communicating, why not just use asymmetric encryption with those keys to exchange the session secret? Is there a cryptographic benefit to using DH here?
Additionally, that section mentions signing the public key in the DH exchange,
But the connection message section doesn't have a place for that signature, and states: