Is there some easy/reliable UDP/datagram security layer I can use from Rust? Something simple, shared keys or pub/privkey auth (both directions).
If there's nothing better I'm tempted to take wireguard-rs and just remove the routing/tun part...
Edit: Solved, https://noiseprotocol.org it is!
@lina I'd recommend using one of the noiseprotocol libs. See https://noiseprotocol.org/ for details, and https://noiseexplorer.com/ to choose whichever handshake pattern suits your use case best.
It's transport agnostic, so you can use it wherever you want.
Noise Explorer
Noise Protocol Framework