133 Commits

Author SHA1 Message Date
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
Alan Friedman
2e2162980a Use fixed position for message input and icon 2016-01-19 12:54:01 -05:00
Dan Seripap
047af8ef90 Licenses 2016-01-19 12:37:26 -05:00
Dan Seripap
e2d254eb91 Merge branch 'master' of https://github.com/seripap/fattychat
* 'master' of https://github.com/seripap/fattychat:
  Update name in Readme
2016-01-19 12:36:31 -05:00
Dan Seripap
97b004bba9 Added licenses, cleanup 2016-01-19 12:35:47 -05:00
Alan Friedman
5b700f838f Update name in Readme 2016-01-19 12:32:21 -05:00
Alan Friedman
d1675006dd Update docs for gulp bundle 2016-01-19 12:31:07 -05:00
Alan Friedman
621037a698 Remove unused libs 2016-01-19 12:28:18 -05:00
Alan Friedman
b8c816b001 Add security disclaimer 2016-01-19 12:28:06 -05:00
Alan Friedman
fd84a4ef8d Don't show user as joined until they enter a key 2016-01-16 11:08:32 -05:00
Alan Friedman
83df79de29 Add switch toggle for sound notifications 2016-01-16 11:07:43 -05:00
Alan Friedman
a06570aebf Fixes for autosizing textareas 2016-01-15 22:29:58 -05:00
Alan Friedman
b42f459cee Use textarea for copyable text and autosize it 2016-01-15 22:05:53 -05:00
Alan Friedman
2b5cc84a32 Don't focus input on window focus 2016-01-15 20:17:21 -05:00
Alan Friedman
2578d50807 Add FastClick 2016-01-15 17:14:21 -05:00
Alan Friedman
70be01cea3 Fix input focus bugs on mobile 2016-01-15 17:14:11 -05:00
Alan Friedman
a5aa18b9ba Change to darkwire.io and dark theme 2016-01-15 17:00:18 -05:00