138 Commits

Author SHA1 Message Date
Marin Petrunić
dbb896c249
fix return types 2020-02-14 10:10:42 +01:00
Marin Petrunić
87f641f650
add noise spec length prefix encoding 2020-02-13 22:51:36 +01:00
Marin Petrunić
66b9e76352
add some babel config 2020-02-13 22:51:01 +01:00
Marin Petrunić
6f74c18261
add it-length-prefixed types 2020-02-13 22:50:28 +01:00
Marin Petrunić
a994ae1c51
add max noise msg constant 2020-02-13 22:50:12 +01:00
morrigan
62cb0e7869 Remove unused 2020-02-10 13:53:10 +01:00
morrigan
3830268c98 Address PR comment and refactor setting remote peer 2020-02-10 13:51:32 +01:00
morrigan
6842e86686 Add type for decoded payload 2020-02-10 13:38:35 +01:00
morrigan
06d5034998 Update setting remote id 2020-02-08 12:23:35 +01:00
morrigan
a5c45bfc53 Additional check 2020-02-08 12:11:16 +01:00
morrigan
36e3462a82 Fix fetching ephemeral keys from IK 2020-02-08 11:21:51 +01:00
morrigan
ceb31929a2 Fix tsc 2020-02-08 11:20:19 +01:00
Marin Petrunić
082b0c560a
better ik flow 2020-02-07 20:21:27 +01:00
Marin Petrunić
09f98fcc12
update docs 2020-02-07 13:06:42 +01:00
Marin Petrunić
2f2476b146
use built in peer id types 2020-02-07 12:59:52 +01:00
Marin Petrunić
ab94e8966e
fix errors 2020-02-06 09:57:10 +01:00
Marin Petrunić
6fa34d43f8
update proto json definition 2020-02-06 09:53:50 +01:00
Marin Petrunić
e97453490c
Merge remote-tracking branch 'origin/master' into mpetrunic/browser-tests
# Conflicts:
#	protos/payload.proto
2020-02-06 09:53:10 +01:00
Marin Petrunić
b5100f3e47
switch proto definitions into json definitions 2020-02-06 09:51:39 +01:00
morrigan
ebb7483109 Remove signing early data payload and prefix 2020-02-05 22:16:48 +01:00
morrigan
8f92180611 Rename protobuf fields 2020-02-05 22:10:51 +01:00
Belma Gutlic
3303cc3b4d Set prologue to empty buffer 2020-01-29 19:48:14 +01:00
Belma Gutlic
cca8b362cb Address PR comment 2020-01-21 11:20:00 +01:00
Belma Gutlic
737dabdce0 Remove slice where not necessary 2020-01-21 11:04:34 +01:00
Belma Gutlic
231c721d12 Add test and improve 2020-01-18 17:00:31 +01:00
Belma Gutlic
15db3b53ce Remove async from keycache 2020-01-18 16:31:05 +01:00
Belma Gutlic
244348c596 Add another test + logger 2020-01-17 23:52:42 +01:00
Belma Gutlic
47e295add5 Add IK -> XX fallback tests and fix things 2020-01-17 23:40:51 +01:00
Belma Gutlic
33708db8b8 Test and fix failed IK handshakes 2020-01-15 17:27:32 +01:00
Belma Gutlic
93f33028b4 Remove unused vars 2020-01-15 11:54:49 +01:00
Belma Gutlic
26cb0c5a17 Test negative output 2020-01-15 11:40:32 +01:00
Belma Gutlic
eeaaa8cc84 Write and test IK stages 2020-01-15 11:32:40 +01:00
Belma Gutlic
6ee5c70af9 Address PR comment 2020-01-13 18:25:28 +01:00
Belma Gutlic
52195afe18 Add comments 2020-01-13 16:40:42 +01:00
Belma Gutlic
7d22967197 Use static key caching 2020-01-13 16:33:58 +01:00
Belma Gutlic
ce7f4118c2 Create key cache 2020-01-13 15:38:14 +01:00
Belma Gutlic
dd94793e23 Fix eslint 2020-01-11 20:27:26 +01:00
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