Skip to content

Commit

Permalink
Documentation. Changed key.maxLen from Infinity to 1024 bytes
Browse files Browse the repository at this point in the history
  • Loading branch information
Hexagon committed Jan 4, 2016
1 parent a13dd84 commit edbc9ce
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 22 deletions.
47 changes: 27 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,27 +81,34 @@ Usage
Available commands:

Client:
/key StrongPassphrase Sets encryption key
/nick NickName Sets an optional nick
/mute Audio on
/unmute Audio off
/clear Clear on-screen buffer
/help This
/title Set your local page title

Room:
/join RoomId Join a room
/leave Leave the room
/count Count participants

/key StrongPassphrase Sets encryption key
/nick NickName Sets an optional nick
/mute Audio on
/unmute Audio off
/clear Clear on-screen buffer
/help This
/title Set your local page title
/torch AfterSeconds Console messages are torched
after this amount of seconds
(default 600).

Room:
/join RoomId Join a room
/leave Leave the room
/count Count participants

Host:
/hosts List available hosts
/connect HostIndex Connect to selected host
/disconnect Disconnect from host
/hosts List available hosts
/connect HostIndex Connect to selected host
/disconnect Disconnect from host

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.

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

It is highly recommended to use incognito mode while chatting,
to prevent browsers from keeping history or cache.


```
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name" : "cryptalk",
"version" : "1.1.1",
"version" : "1.1.2",
"description" : "Encrypted HTML5/Node.JS instant chat",
"main" : "server.js",
"subdomain": "cryptalk",
Expand Down
2 changes: 1 addition & 1 deletion public/js/cryptalk_modules/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ define({
},

key: {
maxLen: Infinity,
maxLen: 1024,
minLen: 8,
},

Expand Down

0 comments on commit edbc9ce

Please sign in to comment.