Update readme.MD

This commit is contained in:
mirai 2022-12-01 10:02:24 +03:00 committed by GitHub
parent ddf4815a54
commit f0224e2231

View File

@ -2,7 +2,9 @@ here is secured online chat what can be runned in cmd
![preview](preview.png) ![preview](preview.png)
how to run server on linux: # Server run
## Linux
``` ```
chmod +x run_server.sh chmod +x run_server.sh
@ -12,7 +14,7 @@ chmod +x run_server.sh
./run_server.sh <port> ./run_server.sh <port>
``` ```
how to run server on windows 10 / 11 in powershell ## Windows
``` ```
python -m venv venv python -m venv venv
@ -30,7 +32,9 @@ pip install -r reqs.txt
sanic server.app -H 0.0.0.0 -p <port> sanic server.app -H 0.0.0.0 -p <port>
``` ```
how to run client on linux # Client run
## Linux
``` ```
chmod +x run_client.sh chmod +x run_client.sh
@ -39,7 +43,7 @@ chmod +x run_client.sh
./run_client.sh ./run_client.sh
``` ```
how to run clear client on windows ## Windows
``` ```
python -m venv venv python -m venv venv
@ -57,8 +61,7 @@ pip install -r reqs.txt
python client.py python client.py
``` ```
## How crypting works?
crypting pipeline
* Client making priv key * Client making priv key
* Server making symmetric key * Server making symmetric key
@ -68,7 +71,7 @@ crypting pipeline
* And than communicate with server via * And than communicate with server via
* symmetric key * symmetric key
to do ## To do
* interface for choosing server in client * interface for choosing server in client
* double password user verification * double password user verification