https://github.com/otabek8866/anonymous-pub-sub-system
Anonymous Distributed Publish/Subscribe System
https://github.com/otabek8866/anonymous-pub-sub-system
anonymous-chat flask python
Last synced: 7 months ago
JSON representation
Anonymous Distributed Publish/Subscribe System
- Host: GitHub
- URL: https://github.com/otabek8866/anonymous-pub-sub-system
- Owner: Otabek8866
- License: gpl-3.0
- Created: 2021-10-27T13:43:56.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-09-18T18:56:03.000Z (about 3 years ago)
- Last Synced: 2025-01-14T12:26:30.237Z (9 months ago)
- Topics: anonymous-chat, flask, python
- Language: CSS
- Homepage:
- Size: 3.08 MB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Installation Instructions
#### Virtual Environment
Setting up virtual environment
```
virtualenv --python=python3.9 flaskgit add
source flask/bin/activate
```#### Running Client App
Setting up virtual environment
```
pip install -r requirements.txt
```Change Host IP in client app/app.py to server IP
host = "http://Server IP:80"
Run Client Flask App
First cd to client folder
```
python3 app.py
```#### Running Server App
```
flask run --host=0.0.0.0 --port=8080
```#### Problem
Servers can recognize clients and their data stored on server’s storage.
This leads to security concerns where the server providers can maliciously retrieve or sell the data.#### Solution
Encrypt the client message and generate ID for the message on the client side before sending to server.
Server has no clue of the actual client’s identity/message stored on the database.
Other clients can request the data using the message ID from the server.