lucaspoffo/renet

Add an option to disable connection token verification

Closed this issue · 1 comments

While testing my game, I don't care about security configurations, and just want other people to be easily able to join.
I've also noticed the case in #12, and would like to be able to bypass it in development.

Closed by e635b81

On all examples/demos we are using unsecure connections, making this a configuration helps clean up the code and make clear it is not secure, and makes it simpler to establish connections when testing/prototyping.

To showcase on how to establish secure connections I'll probably update the chat/bevy demo with a simple matchmaking service.

PS: for the #12 case, you can bind the socket using port 0 and later use socket.local_address().unwrap() to get the actual used port.