71 Commits

Author SHA1 Message Date
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
7625aa8e46 Rename to remoteEarlyData 2020-04-17 11:04:50 +02:00
Matija Petrunic
09c5df3b0d Add early data field to connection return 2020-04-17 10:36:29 +02:00
Matija Petrunic
207627a31f Switch to dotted syntax 2020-04-07 11:02:03 +02:00
Matija Petrunic
bdc39e3ba5 Replace bcrypto with standalone libraries 2020-04-06 17:33:52 +02:00
Marin Petrunić
ba7182685a
fix interfaces to be compatible with libp2p-ts 2020-04-03 13:20:15 +02:00
Marin Petrunić
ec3c88e1b4
Merge branch 'master' into mpetrunic/fix-outbount-remote-peer
# Conflicts:
#	CHANGELOG.md
2020-03-11 09:11:39 +01:00
Marin Petrunić
21d2846705
return remote peer from secure outbound 2020-03-11 09:08:46 +01:00
Marin Petrunić
b1b045fff0
disable noise pipes 2020-03-04 09:02:59 +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
62cb0e7869 Remove unused 2020-02-10 13:53:10 +01:00
morrigan
a5c45bfc53 Additional check 2020-02-08 12:11:16 +01:00
morrigan
36e3462a82 Fix fetching ephemeral keys from IK 2020-02-08 11:21:51 +01:00
morrigan
ceb31929a2 Fix tsc 2020-02-08 11:20:19 +01:00
Marin Petrunić
082b0c560a
better ik flow 2020-02-07 20:21:27 +01:00
Marin Petrunić
09f98fcc12
update docs 2020-02-07 13:06:42 +01:00
Marin Petrunić
2f2476b146
use built in peer id types 2020-02-07 12:59:52 +01:00
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