|
@@ -96,7 +96,7 @@ At this point, the new key/session becomes active. |
|
|
### ecdhe |
|
|
### ecdhe |
|
|
|
|
|
|
|
|
This is the ECDHE key exchange. This does an ephemeral key exchange |
|
|
This is the ECDHE key exchange. This does an ephemeral key exchange |
|
|
w/ a known static key. It follows a protocol similar to the KK |
|
|
|
|
|
|
|
|
w/ a known static keys. It follows a protocol similar to the KK |
|
|
[handshake pattern](https://noiseprotocol.org/noise.html#interactive-handshake-patterns-fundamental) |
|
|
[handshake pattern](https://noiseprotocol.org/noise.html#interactive-handshake-patterns-fundamental) |
|
|
of Noise. For reference, it is: |
|
|
of Noise. For reference, it is: |
|
|
``` |
|
|
``` |
|
@@ -111,6 +111,10 @@ KK: |
|
|
It requires that both sides know the public key of the other side (and |
|
|
It requires that both sides know the public key of the other side (and |
|
|
obviously their own). |
|
|
obviously their own). |
|
|
|
|
|
|
|
|
|
|
|
As the strobe code includes an implementation of X25519 (ECDH over |
|
|
|
|
|
Curve25519), that is used. This means the various public keys are all |
|
|
|
|
|
32 bytes in length. |
|
|
|
|
|
|
|
|
Both start out: |
|
|
Both start out: |
|
|
``` |
|
|
``` |
|
|
meta-AD('com.funkthat.lora.irrigation.ecdhe.v0.0.1') |
|
|
meta-AD('com.funkthat.lora.irrigation.ecdhe.v0.0.1') |
|
|