Skip to content

maelswarm/whisp-chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

whisp-chat

Encrypted Messaging CLI Software

Design Principles

Simplicity in implementation -- ~170 lines of code.
Simplicity in usage.

Why should I use this?

Overall, this is a tutorial example for those interested in a node.js/encryption/sockets.
It's not a "serious" project (at least not yet -- feature requests and contributions are more than welcome).

Is this software really secure?

To the best it can be.

NOTE: This tool has not been audited and is NOT for production use.

Roadmap

  • Diffie-Hellman
  • zip option for file transfer
  • prettier UI
  • choice of encryption method
  • choice of download location

Prerequisites

Install node.js

Repo https://github.com/maelswarm/whisp-chat.git or npm i whisp-chat

Quickstart

Have both parties decide on two mutual passwords.
These will be used for the AES-256-cfb cipher (used to secure the given parties data transfers).

Command Schema
node app.js --src=<host>:<port> --dest=<destinationhost>:<destinationport> --secret=<password1>:<password2>

Usage

For a quick test, open two terminals on your computer and enter the following commands.

Terminal 1:
node app.js --src=127.0.0.1:4321 --dest=127.0.0.1:1234 --secret=breadandjam:butterybutter

Terminal 2:
node app.js --src=127.0.0.1:1234 --dest=127.0.0.1:4321 --secret=breadandjam:butterybutter

Type text and hit enter.

For sending a file type !file:<filepath> and hit enter.

Do not expect a chat message to be received by the destination while a file transfer is already occuring.
It will be received by the destination after the file transfer.

Files are downloaded into your home directory downloads.

About

Encrypted Messaging CLI

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published