Manuel Araoz
8b6c2df6bd
pubkeyring syncing, w00t
2014-08-26 11:43:41 -03:00
Manuel Araoz
652726dbe9
some connection in intermediate screen
2014-08-26 11:43:41 -03:00
Manuel Araoz
fd9d8d9e2e
fix Async to remove soop
2014-08-26 11:43:41 -03:00
Manuel Araoz
cae11776ac
trying to get past intermediate screen
2014-08-26 11:43:41 -03:00
Manuel Araoz
7e286d88d8
remove alerts
2014-08-26 11:43:41 -03:00
Manuel Araoz
3ebacd50cc
working towards refactoring network
2014-08-26 11:43:41 -03:00
Manuel Araoz
bfd4bbe021
getting to intermediate screen!
2014-08-26 11:43:41 -03:00
Manuel Araoz
0ceaea9f95
socket.io+browserify= 😻
2014-08-26 11:43:41 -03:00
Manuel Araoz
3793023c81
fix error handling
2014-08-26 11:43:41 -03:00
Manuel Araoz
9c2b9eb236
only you
2014-08-26 11:43:41 -03:00
Manuel Araoz
e7980aefaa
remove onlyYou message
2014-08-26 11:43:41 -03:00
Manuel Araoz
7c14706e92
add socket.io-browserify
2014-08-26 11:43:41 -03:00
Manuel Araoz
4f359c05ca
basic stuff working
2014-08-26 11:43:41 -03:00
Manuel Araoz
48dd8549ef
fixing stuff
2014-08-26 11:43:41 -03:00
Manuel Araoz
7dc37a272a
starting with async networking
2014-08-26 11:43:41 -03:00
Manuel Araoz
bf4d9fe41f
remove soop from js 4
2014-08-15 17:46:48 -04:00
Ryan X. Charles
88ab38eb00
add nonce support to WebRTC and Wallet
...
Each person keeps track of their own nonce, and the nonces of the other
copayers. The nonce is iterated for each message. If a person ever doesn't
iterate their nonce, that message is discarded by the copayers.
The nonces are saved as networkNonce (your nonce) and networkNonces (the nonces
of your copayers) in the wallet file.
In order to support restoring old wallets, the first four bytes of the 8 byte
nonce are actually the current time in seconds. Thus you can restore an old
wallet, because certainly at least one second has passed since your last
message. Only if you try to restore an old wallet within 1 second from the time
of your last message will you have a problem (or if your system clock is
grossly inaccurate).
2014-07-08 23:03:30 -07:00
Ryan X. Charles
a1155c2798
add support for 8 byte big endian nonce to Message
...
...network protocol is backwards incompatible with previous network protocl.
also includes a second version number for backwards-compatible changes (the
original version number was for backwards-incompatible changes).
2014-07-08 20:02:37 -07:00
Matias Alejo Garcia
c0338a1f43
add .bind
2014-07-08 15:31:03 -03:00
Matias Alejo Garcia
bbac45ee7a
fixes handling networking errors and retries. Adds tests
2014-07-08 15:25:12 -03:00
Matias Alejo Garcia
2626414771
Merge pull request #830 from yemel/fix/peer-id-taken
...
Derive token from cid, bring back the custom version of peerjs
2014-07-07 15:55:46 -03:00
Yemel Jardi
f8ea3a4090
Derive token from cid, bring back the custom version of peerjs
2014-07-07 11:29:28 -03:00
Matias Alejo Garcia
5ba388e911
add testnet in footer / add links
2014-07-03 11:37:26 -03:00
Ryan X. Charles
c0b95a5879
fix encoding mistake - payload should be buffer-like
2014-06-26 14:26:58 -07:00
Ryan X. Charles
08a741d880
confirm peerId matches claimed pubkey to prevent MITM attacks
2014-06-26 13:58:45 -07:00
Ryan X. Charles
543c42a6a8
add authentication via new Message core class
2014-06-26 08:50:39 -07:00
Ryan X. Charles
ea2e2d4e19
run js-beautify on everything
...
...with two spaces. Command: js-beautify -s 2 -r [filename]
2014-06-24 08:36:32 -07:00
Ryan X. Charles
8a89e687e1
bug: this -> self
2014-06-19 14:26:34 -07:00
Ryan X. Charles
8e81e9108f
add private key in Wallet call to network start
2014-06-19 13:14:51 -07:00
Ryan X. Charles
b9ecab9b92
remove commented-out references to obsolete netKey
2014-06-19 13:14:51 -07:00
Ryan X. Charles
98b864454f
add some basic tests for WebRTC
2014-06-19 13:13:01 -07:00
Ryan X. Charles
8bba982978
make WebRTC tests work
2014-06-19 13:13:01 -07:00
Ryan X. Charles
31d601b2a6
initial work replacing symmetric shared secret with ECIES
2014-06-19 13:13:01 -07:00
Matias Alejo Garcia
61410e519a
fix secure:false
2014-06-10 10:49:26 -03:00
Matias Alejo Garcia
33fc4f8623
ssl and video settings
2014-06-10 10:06:08 -03:00
Matias Alejo Garcia
fcc1633816
rm log
2014-06-09 20:12:17 -03:00
Matias Alejo Garcia
d0e20c1bff
progressive reconnect time
2014-06-09 20:09:18 -03:00
Matias Alejo Garcia
be7e122b0a
rm variable reconnect time
2014-06-09 20:09:18 -03:00
Matias Alejo Garcia
0be63c2801
handle disconnect sent
2014-06-09 17:37:16 -03:00
Matias Alejo Garcia
521dd3efe5
simply a little webRTC error handling, add more messages
2014-06-09 11:34:09 -03:00
Yemel Jardi
9b5e155192
Add retry connection to peerjs server on login
2014-06-06 12:30:50 -03:00
Manuel Araoz
7798e38253
remove console.logs
2014-06-03 18:40:07 -03:00
Manuel Araoz
3934b750f2
polish reconnect
2014-06-03 11:54:21 -03:00
Manuel Araoz
7b2f227bcc
work towards connection error
2014-06-02 18:59:50 -03:00
Yemel Jardi
406db01dd2
Support reconnection to old peerjs session
2014-05-22 19:28:26 -07:00
Yemel Jardi
715a5b2bba
add friendly message when the wallet is full
2014-05-19 16:50:01 -07:00
Yemel Jardi
190185ac9c
handle the PeerID-already-in-use error and display a friendly message
2014-05-15 17:17:44 -07:00
Manuel Araoz
0f1d651e36
unified connect calls
2014-05-09 15:39:33 -03:00
Manuel Araoz
1b87083579
disconnect working
2014-05-09 15:39:33 -03:00
Manuel Araoz
55ba5e6d37
connect working
2014-05-09 15:39:33 -03:00