Go to file
unkelpehr 482d352f30 Added settings module and exposed it to the templates
The server should require the same settings module as the client; so
that the checks is performed on both sides.
2014-09-21 21:09:08 +02:00
docs Added screenshot 2014-09-19 19:48:43 +02:00
public Added settings module and exposed it to the templates 2014-09-21 21:09:08 +02:00
.gitignore Added error handling to the connection 2014-09-21 20:45:20 +02:00
LICENSE Initial commit 2014-09-18 09:24:21 +02:00
README.md Automatically clear command history 2014-09-21 14:20:25 +02:00
server.js Various fixes 2014-09-21 14:55:24 +02:00

README.md

cryptalk

Cyptalk is a HTML5/Node.js based encrypted instant chat

Features

  • Client side AES-256-CBC encryption/decryption (the server is just a messenger)
  • 256 bit key derived from your passphrase using PBKDF2
  • Optional nicknames
  • Random (UUID v4) channel name generation för less guessability
  • Quick-links (not recommended) using http://server/#Room:Passphrase
  • Super simple setup
  • Notification sounds (mutable)
  • Flashing title on new messages

Setup

Install node.js, exact procedure is dependant on platform and distribution.

Clone this repo

git clone https://github.com/Hexagon/cryptalk.git
cd cryptalk

Pull express.io and node-uuid from npm.

npm install node-uuid express.io

Start server

node server.js

Browse to http://localhost:8080

Usage

Available commands:                                                    
    /generate 				         Generate random room                        
	/join		RoomId			     Join a room	                            
	/count					         Count participants of room                  
	/nick		NickName		     Sets an optional nick                   
	/key		OurStrongPassphrase	 Sets encryption key                 
	/leave					         Leave the room                              
	/clear					         Clear on-screen buffer                      
	/mute					         Toggle notification sounds                  
	/help					         This                                        

  You can select any of the five last commands/messages with up/down key.

  Due to security reasons, /key command is not saved, and command 
  history is  automatically cleared after one minute of inactivity.