holepunchto / hyperswarm-dht-relay

Relaying the Hyperswarm DHT over other transport protocols to bring decentralized networking to everyone
ISC License
44 stars 10 forks source link

Don't exchange private key with relay #1

Closed kasperisager closed 2 years ago

kasperisager commented 2 years ago

From https://github.com/hyperswarm/dht-relay#protocol:

The protocol currently exchanges public and private keys between peers and the relay due to limitations in the underlying crypto APIs. In the future, only public keys will be exchanged and the relay will instead forward the Noise handshake request to peers for them to perform using their private key.

Depends on the following items: