Jacob Heun
|
e9af13a1ee
|
fix: marshal the verified peer from its public key
This ensures that completed outbound handshakes will always contain the public key of the remote peer
|
2020-05-07 16:24:15 +02:00 |
|
morrigan
|
5cd8a902fb
|
Fix eslint
|
2020-04-23 08:10:41 +02:00 |
|
morrigan
|
dff7f8bae0
|
Fix yarn.lock
|
2020-04-22 19:31:24 +02:00 |
|
morrigan
|
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 |
|
Belma Gutlic
|
7b11f5a3ab
|
Revert "Replace bcrypto with standalone libraries"
|
2020-04-22 19:03:41 +02:00 |
|
Marin Petrunić
|
cc96cf5e37
|
remove bn.js
# Conflicts:
# src/@types/basic.ts
# src/handshakes/ik.ts
# src/handshakes/xx.ts
|
2020-04-22 18:59:38 +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 |
|
Belma Gutlic
|
af23375eb0
|
Merge pull request #52 from mpetrun5/dump-session-keys
Dump session keys
|
2020-04-22 09:22:42 +02:00 |
|
Matija Petrunic
|
55b906cd02
|
Remove SymmetricState log
|
2020-04-17 12:52:54 +02:00 |
|
Matija Petrunic
|
f406bcfa6d
|
Fix log remote static key
|
2020-04-17 12:41:12 +02:00 |
|
Matija Petrunic
|
7c62ef4b47
|
Reuse super method
|
2020-04-17 11:14:27 +02:00 |
|
Matija Petrunic
|
01a4388fa2
|
Rename function
|
2020-04-17 11:09:46 +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
|
cb7eee7407
|
Convert earlyData to Buffer
|
2020-04-17 10:56:31 +02:00 |
|
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 |
|
Matija Petrunic
|
045a4322e7
|
Lint
|
2020-04-17 10:22:13 +02:00 |
|
Matija Petrunic
|
d35e2a85d9
|
Reuse existing logger for session keys
|
2020-04-17 10:18:05 +02:00 |
|
Matija Petrunic
|
369d4054da
|
Set DUMP_SESSION_KEYS as env variable
|
2020-04-17 10:06:41 +02:00 |
|
Matija Petrunic
|
7f871295a0
|
Lint multiline imports
|
2020-04-17 09:48:55 +02:00 |
|
Matija Petrunic
|
61d5674af1
|
Replace log statements with log functions
|
2020-04-14 15:10:48 +02:00 |
|
Matija Petrunic
|
493d2901a9
|
Set dump session keys to false
|
2020-04-10 14:54:50 +02:00 |
|
Matija Petrunic
|
2da9d3da6a
|
Fix lint issues
|
2020-04-10 14:22:09 +02:00 |
|
Matija Petrunic
|
ba4931d7c6
|
Remove whitespace
|
2020-04-10 13:45:19 +02:00 |
|
Matija Petrunic
|
c4212027d0
|
Remove unused imports
|
2020-04-10 13:39:55 +02:00 |
|
Matija Petrunic
|
1653ea340e
|
Log session keys when created
|
2020-04-10 13:35:38 +02:00 |
|
Matija Petrunic
|
83e6380d8f
|
Add basic session key logging
|
2020-04-09 15:33:15 +02:00 |
|
Marin Petrunić
|
7875d776b7
|
resolve same bn.js version
|
2020-04-09 15:06:55 +02:00 |
|
Marin Petrunić
|
13e8a9fc9e
|
remove bn.js
|
2020-04-09 14:53:29 +02:00 |
|
Matija Petrunic
|
296c5dbe5b
|
Fix libp2p-crypto imports
|
2020-04-09 11:09:00 +02:00 |
|
Matija Petrunic
|
17f8fb3140
|
Avoid allocating new buffer
|
2020-04-07 14:43:25 +02:00 |
|
Matija Petrunic
|
5aa43f92e3
|
Fix hash value
|
2020-04-07 11:16:43 +02:00 |
|
Matija Petrunic
|
207627a31f
|
Switch to dotted syntax
|
2020-04-07 11:02:03 +02:00 |
|
Matija Petrunic
|
3866d8a077
|
Convert shared key to Buffer with 32 length
|
2020-04-06 20:04:17 +02:00 |
|
Matija Petrunic
|
2745783db3
|
Fix key buffer comparison
|
2020-04-06 20:01:38 +02:00 |
|
Matija Petrunic
|
99d3c769c9
|
Fix linting errors
|
2020-04-06 19:16:05 +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ć
|
489fcf2b60
|
change bn typings
|
2020-04-03 13:19:43 +02:00 |
|
Marin Petrunić
|
2d3c6167db
|
adjust imports for smaller bundlesize
|
2020-04-03 09:24:58 +02:00 |
|
Marin Petrunić
|
ea67a7d7d1
|
Merge remote-tracking branch 'origin/master' into mpetrunic/fix-outbount-remote-peer
# Conflicts:
# CHANGELOG.md
|
2020-03-11 10:05:06 +01:00 |
|
Marin Petrunić
|
cc2fb94323
|
fix buffer usage in browser
|
2020-03-11 09:43:40 +01: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 |
|
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ć
|
b1b045fff0
|
disable noise pipes
|
2020-03-04 09:02:59 +01:00 |
|
Yusef Napora
|
8f8e104191
|
remove empty ephemeral key from XX message C
|
2020-03-03 12:44:37 -05:00 |
|
Marin Petrunić
|
22c6787250
|
fin lint
|
2020-03-01 19:06:28 +01:00 |
|
Marin Petrunić
|
638b0773e5
|
validate aead decryption
|
2020-03-01 19:05:53 +01:00 |
|