phinocio / go_chat

Learning things is fun
MIT License
0 stars 0 forks source link

[Enhancement] Client Crypto stuff/things #5

Closed phinocio closed 1 year ago

phinocio commented 1 year ago

Client really only needs to read from the .json file for itself, keeping track of its own pub/priv and peer public keys.

Flow on run of a client would be to:

This also requires rewriting the encrypt/decrypt functions for sending/receiving messages.