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.
From https://github.com/hyperswarm/dht-relay#protocol:
Depends on the following items: