87 Commits

Author SHA1 Message Date
Belma Gutlic
c1151213b4
Merge pull request #41 from NodeFactoryIo/mpetrunic/disable-noise-pipes
Disable noise pipes
2020-03-04 11:06:30 +01:00
Marin Petrunić
2bb424a1fa
fix tests 2020-03-04 09:06:58 +01:00
Marin Petrunić
409bfd2150
fix test 2020-03-04 08:56:53 +01:00
Marin Petrunić
638b0773e5
validate aead decryption 2020-03-01 19:05:53 +01:00
Marin Petrunić
c6e7f361c7
handle aead auth tag 2020-02-17 12:11:55 +01:00
Marin Petrunić
87f641f650
add noise spec length prefix encoding 2020-02-13 22:51:36 +01:00
morrigan
d127c8f6d4 Fix invalid test 2020-02-08 16:51:49 +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
Marin Petrunić
082b0c560a
better ik flow 2020-02-07 20:21:27 +01:00
Marin Petrunić
bf5d6658ee
rename tests 2020-02-06 09:52:03 +01:00
Belma Gutlic
3303cc3b4d Set prologue to empty buffer 2020-01-29 19:48:14 +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
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
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
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
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
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
2bb63e3e91 Create handshake handler files 2020-01-03 14:54:08 +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
741f6c9788 Fix test 2019-12-25 22:08:18 +01:00
Belma Gutlic
10a41c5ea6 Write IK test 2019-12-25 22:02:07 +01:00
Belma Gutlic
7b9118e15b Move remaining functions from XX 2019-12-25 11:11:07 +01:00
Belma Gutlic
e66ee7d677 Create handshakes dir 2019-12-24 20:45:48 +01:00
Belma Gutlic
4b2091be9f Read large payload 2019-12-24 20:36:16 +01:00
Belma Gutlic
4a04e955dd Create test for large payload 2019-12-24 16:28:36 +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
c4d7e95c08 Write tests 2019-12-03 13:52:44 +01:00