Encryption-protected console messaging app
This is a simple console messaging app that allows you to send messages to other user. The messages are encrypted on the client side, so the server cannot read them. The server only stores the encrypted messages and sends them to the recipient. The recipient then decrypts the message on their side.
- Clone the repository
git clone https://github.com/NaviteLogger/Private-Console-Communicator.git
(Optional) Create a virtual environment
python -m venv venv
- Install the required packages
pip install -r requirements.txt
- Create and fille the .env file according to the .env.example file
SERVER_HOST='...'
SERVER_PORT='...'
It is important to know that the server and the client must be started in separate terminals. What is more, the communication between the server and the client is done using TCP, so the server firewall must allow the communication on the specified port (in this case, 5555). This can be done using 'ufw' on Linux.
- Start the server (server.py file located under the server folder)
python server.py
- Start the client (app.py file located under the client folder)
python client.py
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.