26 Commits

Author SHA1 Message Date
Matija Petrunic
09c5df3b0d Add early data field to connection return 2020-04-17 10:36:29 +02:00
Matija Petrunic
6a1f17a2f6 Add early data property to handshake 2020-04-17 10:35:37 +02:00
Marin Petrunić
ba7182685a
fix interfaces to be compatible with libp2p-ts 2020-04-03 13:20:15 +02:00
Marin Petrunić
489fcf2b60
change bn typings 2020-04-03 13:19:43 +02:00
Marin Petrunić
638b0773e5
validate aead decryption 2020-03-01 19:05:53 +01:00
Marin Petrunić
66b9e76352
add some babel config 2020-02-13 22:51:01 +01:00
Marin Petrunić
6f74c18261
add it-length-prefixed types 2020-02-13 22:50:28 +01:00
morrigan
6842e86686 Add type for decoded payload 2020-02-10 13:38:35 +01:00
Marin Petrunić
082b0c560a
better ik flow 2020-02-07 20:21:27 +01:00
Marin Petrunić
2f2476b146
use built in peer id types 2020-02-07 12:59:52 +01:00
Belma Gutlic
dd94793e23 Fix eslint 2020-01-11 20:27:26 +01:00
Belma Gutlic
c3ab986d3d Address PR comments 2020-01-07 13:34:45 +01:00
Belma Gutlic
e797dc2741 Create handshake interface to support performing different handshakes 2020-01-03 15:43:56 +01:00
Belma Gutlic
dbbf579288 Move handshake types to separate file 2019-12-24 20:54:45 +01:00
morrigan
e0806499ff Verify peer id 2019-12-03 13:39:33 +01:00
morrigan
6dc8e8288d Fix eslint 2019-11-28 17:53:27 +01:00
morrigan
91af449231 Merge remote-tracking branch 'remotes/origin/master' into morrigan/encrypt-stream
# Conflicts:
#	src/@types/it-pb-rpc/index.d.ts
#	src/@types/libp2p.ts
#	src/crypto.ts
#	src/handshake.ts
#	src/noise.ts
#	src/utils.ts
#	src/xx.ts
2019-11-28 17:52:42 +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
2af4c744df WIP test 2019-11-26 14:14:10 +01:00
morrigan
53c7f94979 Fix reading peer id 2019-11-25 14:03:23 +01:00
morrigan
79d81c3117 Fix eslint 2019-11-25 10:45:58 +01:00
morrigan
7e3c35ed8a Write handshake test 2019-11-22 12:52:59 +01:00
morrigan
f5888f6405 Fix tslint 2019-11-21 14:43:12 +01:00
morrigan
6faf01abd5 Wrap connection 2019-11-20 15:21:53 +01:00
morrigan
ca4e2777ff Address PR comments 2019-11-20 13:23:36 +01:00