201 Commits

Author SHA1 Message Date
Belma Gutlic
ad45be5e7b Fix merging updated payload signing 2020-01-11 20:20:57 +01:00
Belma Gutlic
29f16c481f Merge remote-tracking branch 'remotes/origin/master' into feature/xx-fallback
# Conflicts:
#	src/handshake-xx.ts
#	src/noise.ts
#	src/utils.ts
#	test/noise.test.ts
#	test/xx-handshake.test.ts
2020-01-11 15:24:33 +01:00
Belma Gutlic
219553c7f5 Fix test 2020-01-10 21:25:18 +01:00
Belma Gutlic
e2b7eef295 Address PR comment 2020-01-10 11:10:48 +01:00
Belma Gutlic
d3a652aecb Remove comment 2020-01-07 17:08:08 +01:00
Belma Gutlic
5be8f61599 Remove unused 2020-01-07 17:01:52 +01:00
Belma Gutlic
ddfacf81e8 use libp2p keys from PeerId argument 2020-01-07 16:59:41 +01:00
Belma Gutlic
c3ab986d3d Address PR comments 2020-01-07 13:34:45 +01:00
Belma Gutlic
28bf51c492 Make ephemeral keypair optional 2020-01-07 13:20:42 +01:00
Belma Gutlic
73c336088e Lint fix 2020-01-07 13:09:35 +01:00
Belma Gutlic
3bd2145079 Fix test 2020-01-07 13:05:48 +01:00
Belma Gutlic
dff2450b18 Update encoder functions 2020-01-07 10:29:40 +01:00
Belma Gutlic
fc818c746c Create fallback test 2020-01-07 10:16:57 +01:00
Belma Gutlic
096a30b289 Better naming 2020-01-05 19:09:59 +01:00
Belma Gutlic
4a9b814e5a Create XX fallback flow 2020-01-05 19:05:43 +01:00
Belma Gutlic
a514ededa1 Create IK and read ephemeral keys 2020-01-03 17:28:13 +01:00
Belma Gutlic
e797dc2741 Create handshake interface to support performing different handshakes 2020-01-03 15:43:56 +01:00
Belma Gutlic
ac12fbf987 Update noise interface 2020-01-03 15:07:46 +01:00
Belma Gutlic
2bb63e3e91 Create handshake handler files 2020-01-03 14:54:08 +01:00
Belma Gutlic
4dc1a2ab95
Address PR comment, rename constant 2019-12-30 09:59:59 +01:00
Belma Gutlic
7bad317d0e Address PR comments 2019-12-29 18:23:43 +01:00
Belma Gutlic
d050db41c7 Merge remote-tracking branch 'remotes/origin/master' into feature/ik-handshake 2019-12-27 14:06:05 +01:00
Belma Gutlic
5c1a50bd8e Address PR comments 2019-12-27 13:15:06 +01:00
Belma Gutlic
3f8feee67c fixo 2019-12-25 22:11:02 +01:00
Belma Gutlic
741f6c9788 Fix test 2019-12-25 22:08:18 +01:00
Belma Gutlic
b98c5b4513 Finish porting IK handshake 2019-12-25 18:32:19 +01:00
Belma Gutlic
7b9118e15b Move remaining functions from XX 2019-12-25 11:11:07 +01:00
Belma Gutlic
0290df8685 Move common function to abstract class 2019-12-24 21:15:38 +01:00
Belma Gutlic
dbbf579288 Move handshake types to separate file 2019-12-24 20:54:45 +01:00
Belma Gutlic
e66ee7d677 Create handshakes dir 2019-12-24 20:45:48 +01:00
Belma Gutlic
36a66c59da Remove empty lines 2019-12-24 20:38:34 +01:00
Belma Gutlic
4b2091be9f Read large payload 2019-12-24 20:36:16 +01:00
Belma Gutlic
a5ec8efd28 Fix encoding uint 2019-12-24 17:27:55 +01:00
Belma Gutlic
128aba164d Encrypt stream in chunks 2019-12-24 13:46:50 +01:00
morrigan
c8c03b5093 Separate logger from utils 2019-12-03 15:19:08 +01:00
morrigan
acb9b87537 Split encoder functions from utils 2019-12-03 15:15:46 +01:00
morrigan
ac950d1419 Remove promises from xx 2019-12-03 15:12:55 +01:00
morrigan
e0806499ff Verify peer id 2019-12-03 13:39:33 +01:00
morrigan
88bc55ac41 Merge remote-tracking branch 'remotes/origin/master' into morrigan/verify-signature 2019-12-02 15:30:31 +01:00
morrigan
bb303a568e Fix eslint 2019-12-02 15:28:59 +01:00
morrigan
6bb36f1663 Update timing of initiator payloading sending to verify that payload 2019-12-02 15:24:49 +01:00
morrigan
d8ad3fc1cd Update stream type 2019-12-02 13:20:31 +01:00
morrigan
bf9ae90a5e Verify payload in stage 1 2019-12-02 13:18:31 +01:00
morrigan
bd53cb16fd Fix eslint 2019-12-02 12:53:27 +01:00
morrigan
7b03a3df3b Write functions for verification 2019-12-02 12:53:00 +01:00
morrigan
fc71a22a6c Log handshake steps 2019-12-02 11:24:30 +01:00
morrigan
36c3fa8ccb Address PR comments 2019-12-02 10:48:19 +01:00
morrigan
6ee527e621 Remove unused 2019-11-29 16:23:24 +01:00
morrigan
6dc8e8288d Fix eslint 2019-11-28 17:53:27 +01:00
morrigan
91af449231 Merge remote-tracking branch 'remotes/origin/master' into morrigan/encrypt-stream
# Conflicts:
#	src/@types/it-pb-rpc/index.d.ts
#	src/@types/libp2p.ts
#	src/crypto.ts
#	src/handshake.ts
#	src/noise.ts
#	src/utils.ts
#	src/xx.ts
2019-11-28 17:52:42 +01:00