246 Commits

Author SHA1 Message Date
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
b98c5b4513 Finish porting IK handshake 2019-12-25 18:32:19 +01:00
Belma Gutlic
7b9118e15b Move remaining functions from XX 2019-12-25 11:11:07 +01:00
Belma Gutlic
0290df8685 Move common function to abstract class 2019-12-24 21:15:38 +01:00
Belma Gutlic
dbbf579288 Move handshake types to separate file 2019-12-24 20:54:45 +01:00
Belma Gutlic
e66ee7d677 Create handshakes dir 2019-12-24 20:45:48 +01:00
Belma Gutlic
36a66c59da Remove empty lines 2019-12-24 20:38:34 +01:00
Belma Gutlic
4b2091be9f Read large payload 2019-12-24 20:36:16 +01:00
Belma Gutlic
a5ec8efd28 Fix encoding uint 2019-12-24 17:27:55 +01:00
Belma Gutlic
4a04e955dd Create test for large payload 2019-12-24 16:28:36 +01:00
Belma Gutlic
128aba164d Encrypt stream in chunks 2019-12-24 13:46:50 +01:00
Marin Petrunić
5167df18a5
Merge pull request #5 from NodeFactoryIo/morrigan/verify-signature
Authenticate keys - verify signature
2019-12-03 18:29:14 +01:00
morrigan
db3f0acb6f Update readme 2019-12-03 18:22:05 +01:00
morrigan
8e036d9e52 Update package.json with keywords 2019-12-03 16:09:46 +01:00
morrigan
013de0c3cd Update readme 2019-12-03 15:22:24 +01:00
morrigan
c8c03b5093 Separate logger from utils 2019-12-03 15:19:08 +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
88bc55ac41 Merge remote-tracking branch 'remotes/origin/master' into morrigan/verify-signature 2019-12-02 15:30:31 +01:00
Belma Gutlic
6ad17d9dee
Merge pull request #4 from NodeFactoryIo/morrigan/encrypt-stream
Create encrypted streams
2019-12-02 15:29:17 +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
d8ad3fc1cd Update stream type 2019-12-02 13:20:31 +01:00
morrigan
bf9ae90a5e Verify payload in stage 1 2019-12-02 13:18:31 +01:00
morrigan
bd53cb16fd Fix eslint 2019-12-02 12:53:27 +01:00
morrigan
7b03a3df3b Write functions for verification 2019-12-02 12:53:00 +01:00
morrigan
fc71a22a6c Log handshake steps 2019-12-02 11:24:30 +01:00
morrigan
36c3fa8ccb Address PR comments 2019-12-02 10:48:19 +01:00
morrigan
6ee527e621 Remove unused 2019-11-29 16:23:24 +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
b6f9486f08 Remove unused var 2019-11-28 17:50:15 +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
morrigan
63826c013d Create test and prepare identity keys 2019-11-26 10:52:30 +01:00
morrigan
53c7f94979 Fix reading peer id 2019-11-25 14:03:23 +01:00
morrigan
579bb0a491 Fix old test due to changes 2019-11-25 14:01:17 +01:00
morrigan
4c5d5e0893 Create secure connection 2019-11-25 13:27:55 +01:00
morrigan
d51b40c986 Write encryption generators 2019-11-25 13:09:40 +01:00
Belma Gutlic
c9a281422a
Merge pull request #3 from NodeFactoryIo/morrigan/interface
New interface with XX handshake
2019-11-25 10:53:15 +01:00
morrigan
4e004ad0ec Fix 2019-11-25 10:46:17 +01:00
morrigan
79d81c3117 Fix eslint 2019-11-25 10:45:58 +01:00
morrigan
9c898043b8 Merge remote-tracking branch 'remotes/origin/master' into morrigan/interface
# Conflicts:
#	src/xx.ts
2019-11-25 10:37:57 +01:00
morrigan
b1a848cd47 Merge remote-tracking branch 'remotes/origin/master' into morrigan/encrypt-stream 2019-11-25 10:17:01 +01:00