255 Commits

Author SHA1 Message Date
Marin Petrunić
bf5d6658ee
rename tests 2020-02-06 09:52:03 +01:00
Marin Petrunić
b5100f3e47
switch proto definitions into json definitions 2020-02-06 09:51:39 +01:00
Belma Gutlic
6d72810a60
Merge pull request #23 from NodeFactoryIo/morrigan/update-protobuf
Update payload fields to latest spec
2020-02-06 09:09:48 +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
Marin Petrunić
2f6cc39888
Merge pull request #20 from NodeFactoryIo/fix/prologue
Set prologue to empty buffer
2020-01-30 10:47:01 +01:00
Marin Petrunić
1244432ca9
Merge branch 'master' into fix/prologue 2020-01-30 10:44:15 +01:00
Marin Petrunić
6d61b8d5b0
Merge pull request #21 from NodeFactoryIo/fix/ci
Run tests in CI
2020-01-30 09:26:10 +01:00
Belma Gutlic
6f88fb0f11 Run tests in CI 2020-01-29 19:50:02 +01:00
Belma Gutlic
3303cc3b4d Set prologue to empty buffer 2020-01-29 19:48:14 +01:00
Belma Gutlic
13ba253edd
Merge pull request #19 from NodeFactoryIo/feature/ik-handshake-flow
Integrate IK handshake flow
2020-01-24 11:51:36 +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
dc0dedc6ec Merge remote-tracking branch 'remotes/origin/master' into feature/ik-handshake-flow 2020-01-18 17:02:58 +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
25e2e96c5a
Merge pull request #18 from NodeFactoryIo/feature/noise-pipes
Noise pipes
2020-01-17 23:54:29 +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
34bec6e1f4 Add sinon to better test with spies 2020-01-16 17:49:41 +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
90af03ab02 Add missing key test 2020-01-13 16:18:10 +01:00
Belma Gutlic
ce7f4118c2 Create key cache 2020-01-13 15:38:14 +01:00
Belma Gutlic
86c909d399
Merge pull request #12 from NodeFactoryIo/feature/xx-fallback
XX fallback
2020-01-12 21:54:10 +01:00
Belma Gutlic
dd94793e23 Fix eslint 2020-01-11 20:27:26 +01:00
Belma Gutlic
1b89efd288 Force interface name prefix 2020-01-11 20:23:33 +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
79d6708853
Merge pull request #13 from NodeFactoryIo/fix/verify-key-type
Fix providing private key
2020-01-10 12:38:56 +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