55 Commits

Author SHA1 Message Date
Belma Gutlic
7b11f5a3ab
Revert "Replace bcrypto with standalone libraries" 2020-04-22 19:03:41 +02:00
Belma Gutlic
e553392f6b
Merge pull request #53 from mpetrun5/early-data-api
Early data api
2020-04-22 09:33:54 +02:00
Matija Petrunic
93d6a9a99b Fix test 2020-04-17 11:07:58 +02:00
Matija Petrunic
9b650d5b5f Add test 2020-04-17 10:56:38 +02:00
Matija Petrunic
296c5dbe5b Fix libp2p-crypto imports 2020-04-09 11:09:00 +02:00
Matija Petrunic
48a230b13e Replace crypto random bytes with one from libp2p-crypto 2020-04-07 11:01:52 +02:00
Matija Petrunic
07213345ef Remove bcrypto from tests 2020-04-06 20:12:23 +02:00
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
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
7d22967197 Use static key caching 2020-01-13 16:33:58 +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
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
dff2450b18 Update encoder functions 2020-01-07 10:29:40 +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
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
morrigan
e0806499ff Verify peer id 2019-12-03 13:39:33 +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
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
b5941c750c Add debug 2019-11-27 08:39:06 +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