libp2p-dht/libp2pdht
Csaba Kiraly a9d0d0d69b
fix cross-connect key exchange
Since key exchange can be started both ways simultaneously, and
these might not get finalised with UDP transport, we can't be
sure what encryption key will be used by the other side:
- the one derived in the key-exchange started by us,
- the one derived in the key-exchange started by the other node.
To alleviate this issue, we store two decryption keys in each session.

Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2023-09-12 11:57:05 +02:00
..
dht implement findValue 2023-09-05 08:45:20 +02:00
discv5 chore: remove nim-eth/keys in favour of over to libp2p/crypto 2022-04-07 14:11:48 -05:00
private/eth/p2p/discoveryv5 fix cross-connect key exchange 2023-09-12 11:57:05 +02:00
dht.nim add DHT storage (addValue/getValue) functionality 2023-07-11 10:52:03 +02:00
discv5.nim chore: remove nim-eth/keys in favour of over to libp2p/crypto 2022-04-07 14:11:48 -05:00