199 Commits

Author SHA1 Message Date
Alan Friedman
a31e0ea3a9 Add zombie.js tests 2016-02-23 17:05:48 -05:00
Daniel Seripap
bd976f160a Merge pull request #8 from seripap/feature/tests
Added tests
2016-02-23 16:03:58 -05:00
Dan Seripap
4cee744b07 Support for encrypted file transfer
Accept file, blob decoding

Remove double init of window handler

Added confirmation/acceptance message

Add lazy IDs to transferred files for file owner

Added chat class- initial support for slash commands

Abstraction of chat to its own class

Removed underscore from vendors, switching to import. Increased username color values

Not localizing username, organizing slash commands

Keeping context

Support for symbols/emojis. Fixes #9

Added back npm scripts, added method to check if log messages contain usernames

Checks and balances

Better parsing of commands and organization of valid commands

Fixed #10 - Added running version on modal and about section, Updated disclaimer/wording, displaying public IP if available through server

File transfer pre-confirmation

Encrypting stringified object versus string
2016-02-23 15:59:01 -05:00
Alan Friedman
885a74b1e6 Add Travis yml file 2016-02-23 15:57:15 -05:00
Alan Friedman
c4b8c00b16 Add zombie.js tests 2016-02-23 15:52:05 -05:00
Dietmar Winkler
83840fabb1 Removes hard wired URL so that "New Room" works everywhere. 2016-02-22 09:17:00 -05:00
Alan Friedman
078d10d177 Fix broken things 2016-02-21 11:29:06 -05:00
Alan Friedman
e9b3498eaa Merge develop into cleanup 2016-02-21 11:09:00 -05:00
Alan Friedman
cfa5da5695 Add JSCS and JSHint to tests and fix errors 2016-02-21 10:58:42 -05:00
Dan Seripap
59ee6ca56f Actual configurable port 2016-02-20 09:09:05 -05:00
Dan Seripap
6273e21b22 Bind vs proxy 2016-02-19 13:41:35 -05:00
Dan Seripap
c1b902a5bf Sending file test, currently working for images only 2016-02-19 13:35:44 -05:00
Dan Seripap
e75f48ef88 Sending and reciving base64 strings 2016-02-19 13:12:30 -05:00
Dan Seripap
0762bbd15c Passing socket to window handler 2016-02-19 12:52:07 -05:00
Dan Seripap
c6670b56d6 Working implementation of darkwire interface 2016-02-19 12:39:47 -05:00
Dan Seripap
ebeab321e1 Creating some stability 2016-02-19 11:57:01 -05:00
Dan Seripap
e59bb2a1cf Creating interface for darkwire, started work on filetransfer 2016-02-19 11:39:04 -05:00
Dan Seripap
4338f1aa8a Configurable port 2016-02-19 09:04:31 -05:00
Dan Seripap
6ec8d9c5a0 More cleanup: Removed sessions, as they are not needed 2016-02-19 08:55:56 -05:00
Dan Seripap
7e66df3ac0 Merge branch 'master' into issues/reorg
* master:
  Removes hard wired URL so that "New Room" works everywhere.
2016-02-19 08:36:14 -05:00
Daniel Seripap
a068e5f132 Merge pull request #4 from dietmarw/fixHardLink
Removes hard wired URL so that "New Room" works everywhere.
2016-02-19 08:35:26 -05:00
Dietmar Winkler
ac88699ec9 Removes hard wired URL so that "New Room" works everywhere. 2016-02-19 13:11:19 +01:00
Dan Seripap
e492945fcb Abstracted some window events 2016-02-17 22:13:25 -05:00
Dan Seripap
e27b4e1d5c Dynamic URLs 2016-02-17 21:57:00 -05:00
Dan Seripap
f008a7db93 Fix audio class, moving crypto functions 2016-02-17 21:55:28 -05:00
Dan Seripap
316db0cfc5 Start of reorganization: Audio class 2016-02-17 21:23:20 -05:00
Alan Friedman
27ae0a4fbf Merge branch 'master' into revert-to-hmac 2016-02-14 19:45:17 -05:00
Alan Friedman
f298b951fa Edit readme 2016-02-14 19:44:15 -05:00
Dan Seripap
fab6549dac Readme update 2016-01-27 18:18:43 -05:00
Dan Seripap
05f66b7bdb Added .secret file for sessions
x
2016-01-27 18:16:40 -05:00
Alan Friedman
0fc55576fe Revert "Use asymmetric signing keys instead of HMAC"
This reverts commit 323c7a903db4fa00c7a93d199862a3f0118b608f.
2016-01-27 07:53:04 -05:00
Alan Friedman
9c9c08b29c Edit readme text 2016-01-26 15:14:07 -05:00
Alan Friedman
323c7a903d Use asymmetric signing keys instead of HMAC
Participants now generate RSASSA-PKCS1-v1_5 public/private key pairs
and sign messages with their private key. Recipients verify signatures
with the sender’s public key.
2016-01-26 15:05:17 -05:00
Alan Friedman
55feed3257 Remove all external dependencies (scripts, fonts, img, etc) 2016-01-26 11:12:58 -05:00
Alan Friedman
034b67a564 Update readme with encryption details 2016-01-25 17:36:57 -05:00
Alan Friedman
d90b1fa814 Fix typo 2016-01-25 15:52:52 -05:00
Alan Friedman
0dad45ed91 Use HMAC symmetric key to sign/verify and add webkit shim
For webkit support, I removed the public/private signing keys and
replaced them with a symmetric HMAC signing key. It achieves the same
thing and besides adding webkit support, is also a bit cleaner.

Webkit handles key export is a non-standard way, so with this shim we
have to export and import public keys in “spki” format. Webkit also
requires slightly different options to be passed in for some operations.
2016-01-25 15:50:33 -05:00
Alan Friedman
663fee0797 Use input instead of textarea for room URL 2016-01-25 15:44:50 -05:00
Alan Friedman
557a22a01e Fix for crypto webkit prefix 2016-01-23 21:24:50 -05:00
Alan Friedman
164c33f893 Simplify invite message 2016-01-23 20:52:20 -05:00
Alan Friedman
d46b8f24b5 Use asymmetric encryption to replace passphrase exchange
All parties now create public/private key pairs for
encryption/decryption and signing/verification. Public keys are passed
around and stored in server memory while the room is alive. Session
keys, which are used to encrypt cleartext messages, are newly generated
for each message and are encrypted using each participant’s public key.
Messages are signed using the sender’s private signing key.
2016-01-23 20:49:29 -05:00
Alan Friedman
64b12776b8 Fix for Safari support using webkit prefix 2016-01-20 17:17:31 -05:00
Alan Friedman
2a8e4842c3 Undo a change 2016-01-20 17:08:41 -05:00
Alan Friedman
d17bb6c0e3 Remove Safari 2016-01-20 17:03:12 -05:00
Alan Friedman
a35083494d Remove clipboardJS and cryptoJS 2016-01-20 16:49:52 -05:00
Alan Friedman
39e4d3d56c Use crypto web API and prevent usage in unsupported browsers 2016-01-20 16:48:47 -05:00
Dan Seripap
6e1986b375 Added OS link, changing key wording to passphrase 2016-01-19 16:49:08 -05:00
Dan Seripap
e571cefefa Added UUID lib 2016-01-19 16:43:19 -05:00
Dan Seripap
536ceda50b Merge branch 'master' of https://github.com/seripap/darkwire.io
* 'master' of https://github.com/seripap/darkwire.io:
  Use fixed position for message input and icon
2016-01-19 16:42:37 -05:00
Dan Seripap
d4a5193769 Use uuid lib for crypto and fallback support to replace math.random for #1 2016-01-19 16:42:19 -05:00