Franck Royer
57f65267c2
Implement and test symmetric encryption in the browser
2021-07-14 16:31:11 +10:00
Franck Royer
8c66022a18
Update changelog for Karma
2021-07-14 15:35:46 +10:00
Franck Royer
06ee0ac1d8
Symmetric encryption for node
2021-07-14 15:34:48 +10:00
Franck Royer
75fce5eed3
Merge pull request #230 from status-im/karma
2021-07-14 15:34:18 +10:00
Franck Royer
4dae00fe0d
Remove debug logs for Karma
2021-07-14 15:23:36 +10:00
Franck Royer
f20acb9bfd
Use ChromeHeadless
2021-07-14 15:17:16 +10:00
Franck Royer
ae051333de
Use puppeteer to make it work in the CI
2021-07-14 13:25:24 +10:00
Franck Royer
055247121a
Remove firefox for now
2021-07-14 13:14:04 +10:00
Franck Royer
ac4f0aab98
Only include lib files, segregate browser tests
2021-07-14 13:04:11 +10:00
Franck Royer
a9c83dac13
Do not use same key value for both constants
2021-07-14 13:03:22 +10:00
Franck Royer
e443237a81
Remove local type definitions for Karma to not return "not found"
2021-07-14 12:25:23 +10:00
Franck Royer
d24afafc82
Karma needs js files to be emitted
2021-07-14 12:13:03 +10:00
Franck Royer
7fa919273b
Set sourceMap instead of inline
2021-07-14 11:56:49 +10:00
Franck Royer
70058f0e36
Split browser and node tests
2021-07-14 11:56:48 +10:00
Franck Royer
4f8d8b099b
Setup Karma
2021-07-14 11:56:48 +10:00
Franck Royer
a0d3a21762
Improve importing of Muxed Stream type
2021-07-14 11:38:59 +10:00
Franck Royer
2f5e75166f
Merge pull request #228 from status-im/eth-dm-proto
...
Use protobuf instead of JSON for direct messages
2021-07-12 19:57:48 +10:00
Franck Royer
c2cef05c2d
Use protobuf instead of JSON for direct messages
2021-07-12 17:29:52 +10:00
Franck Royer
b8296648e4
Merge pull request #227 from status-im/179-eth-dm-encrypt
2021-07-12 17:27:06 +10:00
Franck Royer
4ca440d27e
List relay and light push peers numbers instead of any peer
2021-07-12 17:13:28 +10:00
Franck Royer
7a0b947553
Add logs on light push
2021-07-12 17:10:05 +10:00
Franck Royer
48bdb0b3f2
Use WakuMessage version 1 instead of eth-crypto
2021-07-12 17:09:44 +10:00
Franck Royer
3d219d005d
Merge pull request #225 from status-im/179-asymmetric-enc-store
2021-07-12 16:49:31 +10:00
Franck Royer
0e9c482a19
Enable decryption of messages retrieve via `WakuStore.queryHistory`
2021-07-12 13:15:19 +10:00
Franck Royer
d68ee3fb74
New `peers` and `randomPeer` methods to return available peers
2021-07-12 13:15:19 +10:00
Franck Royer
c5cb37ee49
Merge pull request #223 from status-im/ecies
...
Use ecies library that provide right ECIES parameters
2021-07-12 12:49:11 +10:00
Franck Royer
4fe0116039
Use ecies library that provide right ECIES parameters
2021-07-12 11:30:19 +10:00
Franck Royer
d0958c1c57
Merge pull request #221 from status-im/waku-msg-version-1
2021-07-09 16:35:47 +10:00
Franck Royer
63923f4368
Prefer usage of utils
2021-07-09 16:06:49 +10:00
Franck Royer
b70f7c5a95
Use DOM random generator if available
2021-07-09 16:06:49 +10:00
Franck Royer
1f6ed9b525
Prefer secp256k1 lib over ecies
2021-07-09 15:50:17 +10:00
Franck Royer
2b1a6dafea
Skip nim-waku interop tests
...
ecies-parity does not provide the same ECIES that waku:
ecies-parity uses a shared hmac of `[0,0]` whereas waku uses `[]`.
Work is needed to find or create a new library.
2021-07-09 15:50:17 +10:00
Franck Royer
8cd5a52eba
Provide hex/bytes utils as part of js-waku
2021-07-09 15:50:17 +10:00
Franck Royer
9ff1d87a8d
Use util function
2021-07-09 15:50:16 +10:00
Franck Royer
4f50ca1732
Align examples
2021-07-09 15:50:16 +10:00
Franck Royer
22c716e0e6
Add API to generate keys
2021-07-09 15:50:16 +10:00
Franck Royer
f123cd7e62
Test asymmetric encryption against nim-waku
2021-07-09 15:50:16 +10:00
Franck Royer
f95d9aec3c
Add version 1 support to waku relay, test decryption against nim-waku
2021-07-09 15:50:16 +10:00
Franck Royer
acdc032253
Simplify code
2021-07-09 15:50:16 +10:00
Franck Royer
34e6ac5247
Add version 1 support to WakuMessage
2021-07-09 15:50:15 +10:00
Franck Royer
2266f31d30
Move optional parameters to a single `Options` object.
2021-07-09 15:50:15 +10:00
Franck Royer
381333347e
Remove dupe code
2021-07-09 15:50:15 +10:00
Franck Royer
f2a2233c77
Add encrypt/decrypt asymmetric
2021-07-09 15:50:15 +10:00
Franck Royer
f97dc4de81
Implement Waku Message Version 1 encoding and signature
2021-07-09 14:49:09 +10:00
Franck Royer
7b5c8d6094
Move waku_message to dedicated folder
2021-07-09 14:49:09 +10:00
Franck Royer
c3b726cb99
Remove deprecated call
2021-07-09 14:49:08 +10:00
Franck Royer
7c47a6b215
Merge pull request #222 from status-im/eth-dm-observer-infinite-loop
2021-07-09 14:48:39 +10:00
Franck Royer
d00c1c874a
Do not fail if connection to one peer fails
...
As long as we connect to at least one peer then we can move forward.
2021-07-09 14:35:06 +10:00
Franck Royer
66d450ae36
Fix bad comparison logic
2021-07-09 14:35:06 +10:00
Franck Royer
44db58d2fd
Fix the dependencies
2021-07-09 14:35:04 +10:00