Skip to content
Ryan McCarron edited this page Nov 24, 2017 · 1 revision

QCHAT

What is it?

qchat is an end-to-end RSA encrypted (small key length) chat room designed to run in a Linux terminal, tested on Ubuntu 16.04

How do I use it?

Clone the repo, cd into it and start qchat with:

q chatter.q -p PORTNO

where PORTNO is whatever number of base port you wish to start at. This can started foreground or background. The user starting qchat is automatically added as an admin, and is able to connect directly by opening a q session and running

q) hopen PORTNO

If this is your first time connecting, you'll be presented with locally generated public and private keys. Fllow the instructions and input these, or keys you've generated yourself as integers. The public key is stored in the qchat server and in the qchat folder, and your private key is stored in a subdirectory of your user's home directory.

On successful connection, you'll be able to see a list of some features by typing \

Adding users

The admin can add users by typing \a username - the user will then be permitted to connect and will be supplied with keys. Alternatively, additional users can be added on process start, by supplying them as a "-" separated list, e.g

q chatter.q -p PORTNO -users user1-user2-user3

Additional functionality

qchat has many built in functions - all called in the form

\XY

where X is a letter, and Y is a letter, space, or nothing. Most are listed when the user calls \