52 Commits

Author SHA1 Message Date
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
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
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
eeaaa8cc84 Write and test IK stages 2020-01-15 11:32:40 +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
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
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
7bad317d0e Address PR comments 2019-12-29 18:23:43 +01:00
morrigan
acb9b87537 Split encoder functions from utils 2019-12-03 15:15:46 +01:00
morrigan
e0806499ff Verify peer id 2019-12-03 13:39:33 +01:00
morrigan
6bb36f1663 Update timing of initiator payloading sending to verify that payload 2019-12-02 15:24:49 +01:00
morrigan
bf9ae90a5e Verify payload in stage 1 2019-12-02 13:18:31 +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
a8ff05cdf1 Update handling keys, refactoring 2019-11-28 17:32:46 +01:00
morrigan
d03f4974ba Create test 2019-11-27 14:20:25 +01:00
morrigan
fa33cdcd44 Fix test 2019-11-26 15:25:27 +01:00
morrigan
2af4c744df WIP test 2019-11-26 14:14:10 +01:00
morrigan
63826c013d Create test and prepare identity keys 2019-11-26 10:52:30 +01:00
morrigan
53c7f94979 Fix reading peer id 2019-11-25 14:03:23 +01:00
morrigan
4c5d5e0893 Create secure connection 2019-11-25 13:27:55 +01:00
morrigan
d51b40c986 Write encryption generators 2019-11-25 13:09:40 +01:00
morrigan
7e3c35ed8a Write handshake test 2019-11-22 12:52:59 +01:00
morrigan
f5888f6405 Fix tslint 2019-11-21 14:43:12 +01:00
morrigan
b2d058291c Written handshake exchange 2019-11-21 13:38:39 +01:00
morrigan
f6bc40baf4 handshake propose 2019-11-20 22:52:08 +01:00
morrigan
af95dc2fcd Handshake payload refactor 2019-11-20 22:25:34 +01:00
morrigan
6faf01abd5 Wrap connection 2019-11-20 15:21:53 +01:00
morrigan
ca4e2777ff Address PR comments 2019-11-20 13:23:36 +01:00
morrigan
4d09d63a4a Fix errors 2019-11-12 14:07:25 +01:00
morrigan
26b112f712 Add types and encryption methods 2019-11-12 14:02:59 +01:00
morrigan
d2c844d598 Create interface according to spec 2019-11-11 21:58:04 +01:00