hack-house/readme.MD
2022-12-01 10:01:25 +03:00

76 lines
963 B
Markdown

here is secured online chat what can be runned in cmd
![preview](preview.png)
how to run server on linux:
```
chmod +x run_server.sh
```
```
./run_server.sh <port>
```
how to run server on windows 10 / 11 in powershell
```
python -m venv venv
```
```
venv/scripts/Activate
```
```
pip install -r reqs.txt
```
```
sanic server.app -H 0.0.0.0 -p <port>
```
how to run client on linux
```
chmod +x run_client.sh
```
```
./run_client.sh
```
how to run clear client on windows
```
python -m venv venv
```
```
venv/scripts/Activate
```
```
pip install -r reqs.txt
```
```
python client.py
```
crypting pipeline
* Client making priv key
* Server making symmetric key
* Client sending public key to server
* Server crypting symmetric key and sending to client
* Client encrypting private key
* And than communicate with server via
* symmetric key
to do
* interface for choosing server in client
* double password user verification
* white list