Open Measurity opened 1 year ago
On Steam we can get an ID that is unique to each steam account that we can use, while on Epic Games... I believe there is a similar method. BUT Microsoft Store does not have this feature, Discord SDK might however
We could probably make an auth portal or smth that could even accept google authentication
https://github.com/SubnauticaNitrox/Nitrox/issues/1996#issuecomment-1454803697
@tornac1234, Google OAuth is unavailable in some countries. Something more resilient (albeit basic) like OpenID might be better...?
Describe the issue
Packets should be encrypted using symmetric encryption for privacy with reasonable speed. The password/key for the symmetric encryption is provided using an asymmetric encryption like RSA. This process is called envelope encryption.
How to implement
If a client rejoins, the steps are repeated as-is. The client does not need to remember the public key since it might be changed in the future by server.
Further improvements and side notes