This project is a real time end-to-end encrypted secure chat application. This app utilizes AES to encrypt messages, MAC's to ensure message integrity and Diffie-Hellman Key Exchange to generate the AES and HMAC keys.
To get started, you must be on a Linux Operating System. I am assuming you are on a Linux Operating System moving onward.
- Clone the repository using the following command:
git clone https://github.com/dddictionary/Secure-Chat.git
- Run
make
to compile the files into executables. If there are any issues with compiling, runmake clean
and then runningmake
- You can run
./chat -h
to view the list of possible commands. - To beginning listening on one machine, run
./chat -l
. This will default to listening on port 1337. - On another terminal instance, run
./chat -p 1337
to connect to the port.
OPTIONAL:
If you host a port forward, you can allow others to connect to your computer and chat with you while being connected to different routers!
The command for that is:
./chat -c <ip-address>
where ip-address
is the IP address of the host machine.
The app was made by the following: