Giter Site home page Giter Site logo

rishabhjain10 / secure-messaging-applicaion Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 30 KB

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

Python 100.00%
messaging python cryptography socket-programming

secure-messaging-applicaion's Introduction

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

secure-messaging-applicaion's People

Contributors

rishabhjain10 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.