Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Socket Message Encryption #54

Open
banksemi opened this issue Nov 19, 2018 · 1 comment
Open

Socket Message Encryption #54

banksemi opened this issue Nov 19, 2018 · 1 comment
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@banksemi
Copy link
Owner

banksemi commented Nov 19, 2018

refer

@banksemi
Copy link
Owner Author

  1. Server create RSA private key and public key and The public key is included in client.
  2. When the server and client are connected, they perform Handshake.
  1. The client make new secret key that client wants to use for socket communication.
  2. The client send the secret key to server using RSA public key.
  3. The server decrypts the secret message using the private key.
  4. The server check the secret key to ensure that it meets the rules.
  5. If you are satisfied with rule, Server send a "success" message to the client.
  6. Now, They communicate by using AES encryption using the secret key that they selected.

@banksemi banksemi added the help wanted Extra attention is needed label Nov 20, 2018
@banksemi banksemi self-assigned this Dec 5, 2018
@banksemi banksemi added the enhancement New feature or request label Dec 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants