Commit Graph

101 Commits

Author SHA1 Message Date
ca39bc5d99 lint fixes 2020-06-19 13:06:31 +02:00
8327a60356 fix automatic lint 2020-06-19 12:49:40 +02:00
f05150e640 feat: use aegir 2020-06-18 22:23:39 +01:00
635963062a Address PR comments 2020-04-23 12:56:09 +02:00
f5f4b9f344 Merge branch 'morrigan/fix-interop' into revert-51-remove-bcrypto-dependency
# Conflicts:
#	package.json
#	src/@types/basic.ts
#	src/handshakes/ik.ts
#	src/handshakes/xx.ts
#	yarn.lock
2020-04-22 19:07:03 +02:00
7b11f5a3ab Revert "Replace bcrypto with standalone libraries" 2020-04-22 19:03:41 +02:00
e553392f6b Merge pull request #53 from mpetrun5/early-data-api
Early data api
2020-04-22 09:33:54 +02:00
93d6a9a99b Fix test 2020-04-17 11:07:58 +02:00
9b650d5b5f Add test 2020-04-17 10:56:38 +02:00
296c5dbe5b Fix libp2p-crypto imports 2020-04-09 11:09:00 +02:00
48a230b13e Replace crypto random bytes with one from libp2p-crypto 2020-04-07 11:01:52 +02:00
07213345ef Remove bcrypto from tests 2020-04-06 20:12:23 +02:00
fddab30049 fix tests 2020-04-03 09:39:53 +02:00
2d3c6167db adjust imports for smaller bundlesize 2020-04-03 09:24:58 +02:00
c1151213b4 Merge pull request #41 from NodeFactoryIo/mpetrunic/disable-noise-pipes
Disable noise pipes
2020-03-04 11:06:30 +01:00
2bb424a1fa fix tests 2020-03-04 09:06:58 +01:00
409bfd2150 fix test 2020-03-04 08:56:53 +01:00
638b0773e5 validate aead decryption 2020-03-01 19:05:53 +01:00
c6e7f361c7 handle aead auth tag 2020-02-17 12:11:55 +01:00
87f641f650 add noise spec length prefix encoding 2020-02-13 22:51:36 +01:00
d127c8f6d4 Fix invalid test 2020-02-08 16:51:49 +01:00
06d5034998 Update setting remote id 2020-02-08 12:23:35 +01:00
a5c45bfc53 Additional check 2020-02-08 12:11:16 +01:00
082b0c560a better ik flow 2020-02-07 20:21:27 +01:00
bf5d6658ee rename tests 2020-02-06 09:52:03 +01:00
3303cc3b4d Set prologue to empty buffer 2020-01-29 19:48:14 +01:00
231c721d12 Add test and improve 2020-01-18 17:00:31 +01:00
15db3b53ce Remove async from keycache 2020-01-18 16:31:05 +01:00
244348c596 Add another test + logger 2020-01-17 23:52:42 +01:00
47e295add5 Add IK -> XX fallback tests and fix things 2020-01-17 23:40:51 +01:00
34bec6e1f4 Add sinon to better test with spies 2020-01-16 17:49:41 +01:00
33708db8b8 Test and fix failed IK handshakes 2020-01-15 17:27:32 +01:00
26cb0c5a17 Test negative output 2020-01-15 11:40:32 +01:00
eeaaa8cc84 Write and test IK stages 2020-01-15 11:32:40 +01:00
7d22967197 Use static key caching 2020-01-13 16:33:58 +01:00
90af03ab02 Add missing key test 2020-01-13 16:18:10 +01:00
ce7f4118c2 Create key cache 2020-01-13 15:38:14 +01:00
ad45be5e7b Fix merging updated payload signing 2020-01-11 20:20:57 +01:00
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
219553c7f5 Fix test 2020-01-10 21:25:18 +01:00
e2b7eef295 Address PR comment 2020-01-10 11:10:48 +01:00
d3a652aecb Remove comment 2020-01-07 17:08:08 +01:00
ddfacf81e8 use libp2p keys from PeerId argument 2020-01-07 16:59:41 +01:00
c3ab986d3d Address PR comments 2020-01-07 13:34:45 +01:00
28bf51c492 Make ephemeral keypair optional 2020-01-07 13:20:42 +01:00
73c336088e Lint fix 2020-01-07 13:09:35 +01:00
3bd2145079 Fix test 2020-01-07 13:05:48 +01:00
dff2450b18 Update encoder functions 2020-01-07 10:29:40 +01:00
fc818c746c Create fallback test 2020-01-07 10:16:57 +01:00
096a30b289 Better naming 2020-01-05 19:09:59 +01:00