Skip to content

Secure instant messaging application for python 2.7. The application handles multiple clients using multi-threading and provides security services like perfect forward secrecy, DoS protection at application level, confidentiality, integrity, availability, authenticity and also resilient to weak password attacks

Notifications You must be signed in to change notification settings

rishabhjain10/secure-messaging-applicaion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

secure-messaging-applicaion

Installation steps

  1. Make sure the following files are available in our working folder:

    • Key files for server:
      • Server Public Key
      • Server Private Key
      • ChatConf.conf
    • Key files for client:
      • Server Public Key
      • ChatConf.conf
  2. Make sure pyDH is installed on both the machines
    To install pyDH, simply

pip install pyDH  

For details please refer:https://github.com/amiralis/pyDH

  1. Creating username and passwords
    To register a new user run createPasswd.py present in server folder
python createPasswd <newusername> <password>

Usage: Server

python chatServer.py

Initializes the server on port and ip mentioned in the config

Usage: Client

python chatClient.py

Initializes the client and connect to server port and ip mentioned in the config

Usage: Commands accepted on client

list
Gives the list of active users

send <username> <message>
Sends message to the username specified

logout
Logouts the client

About

Secure instant messaging application for python 2.7. The application handles multiple clients using multi-threading and provides security services like perfect forward secrecy, DoS protection at application level, confidentiality, integrity, availability, authenticity and also resilient to weak password attacks

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages