Selaa lähdekoodia

mention the specific curve/dh used..

main
John-Mark Gurney 2 vuotta sitten
vanhempi
commit
07fea7395f
1 muutettua tiedostoa jossa 5 lisäystä ja 1 poistoa
  1. +5
    -1
      PROTOCOL.md

+ 5
- 1
PROTOCOL.md Näytä tiedosto

@@ -96,7 +96,7 @@ At this point, the new key/session becomes active.
### ecdhe

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)
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
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:
```
meta-AD('com.funkthat.lora.irrigation.ecdhe.v0.0.1')


Ladataan…
Peruuta
Tallenna