89 Commits

Author SHA1 Message Date
Emil Ivanichkov
698b8c9802 fix: Send non-empty payload during handshake 2024-04-29 16:15:07 +03:00
Sasha
64485c8c14
lint 2024-04-18 23:51:05 +02:00
Sasha
10ce3a6dee
up tests 2024-04-18 23:49:15 +02:00
Sasha
64e59328fa
fix lint 2024-04-18 23:38:27 +02:00
Sasha
fa5cc104a1
remove unused 2024-04-18 23:33:18 +02:00
Sasha
7100f31ed8
feat: add pubsub topic parameter 2024-04-18 23:26:47 +02:00
Sasha
69159ec74a
fix lint 2024-04-16 02:08:53 +02:00
Sasha
76deae2cff
fix test 2024-04-16 02:07:28 +02:00
Sasha
45bd8d4233
fix test 2024-04-16 02:03:43 +02:00
Sasha
3dbe54b7f1
up test 2024-04-16 01:58:29 +02:00
Sasha
7bb0d29ee4
up test 2024-04-16 01:56:27 +02:00
Sasha
810d832226
remove unused 2024-04-16 01:53:27 +02:00
Sasha
3fb88c12dc
feat: determine pubsubTopic based on contentTopic 2024-04-16 01:50:18 +02:00
Sasha
62dfa331b6
up spec 2024-04-11 17:15:28 +02:00
Sasha
2f03427e23
fix lint 2024-04-11 17:12:59 +02:00
Sasha
4f925c6599
chore: duplicate PR#57 and update lock 2024-04-11 17:08:55 +02:00
Emil Ivanichkov
dc2fd56797 refactor: Use log instead of console.log in pairing module 2024-02-15 11:59:42 +02:00
Emil Ivanichkov
8bafd89ca4 refactor: Remove forgotten debugging line 2024-02-15 11:58:31 +02:00
Emil Ivanichkov
a19e968c85 refactor: Make csOutbound & csInbound fields of HandshakeResult protected
With this change we can extend the `HandshakeResult` class and use them
in the subclass
2024-01-30 12:26:05 -04:00
Emil Ivanichkov
e436becaf7 feat: Add getCSOutbound & getCSInbound methods to HandshakeResult 2024-01-30 12:26:05 -04:00
Emil Ivanichkov
4d6d4ca5bd feat: Add getNametagPosition & getNametagAtPosition method to MessageNametagBuffer 2024-01-30 12:26:05 -04:00
Emil Ivanichkov
1a0b044451 chore: Add exports for CipherState, Nonce & PayloadV2 2024-01-30 12:26:05 -04:00
Emil Ivanichkov
54e0fd5759 fix: Implementation of rotateLeft function in src/messagenametag.ts 2024-01-25 10:39:16 -04:00
Emil Ivanichkov
4be1418b58 fix: Fix call of HKDF in the genMessageNametagSecrets function 2024-01-25 08:25:08 -04:00
Richard Ramos
0f9b146776 refactor: cipher specific endianness for nonce 2023-11-27 15:21:41 -04:00
Richard Ramos
32e64030ed refactor: cipher type as parameter 2023-11-27 15:21:41 -04:00
Richard Ramos
932d9a0263 chore: add missing .js suffix 2023-11-27 15:21:41 -04:00
Richard Ramos
37086a523f chore: removing ChaChaPolyCipherState and NoisePublicKey encryption/decryption, as it is only used for tests, and not during normal usage 2023-11-27 15:21:41 -04:00
Richard Ramos
1cacb2f548 refactor: removed taglen as parameter as it is defined in spec that it is always16 2023-11-27 15:21:41 -04:00
Richard Ramos
3cd683c2f1 refactor: commitPublicKey receives a hashing function 2023-11-27 15:21:41 -04:00
Richard Ramos
6baa061f0e refactor: key type as parameter 2023-11-27 15:21:41 -04:00
Richard Ramos
d9b8fdc98e refactor: tagLen as parameter 2023-11-27 15:21:41 -04:00
Richard Ramos
5d54dc28be refactor: SHA256 as parameter 2023-11-27 15:21:41 -04:00
Oleksandr Kozlov
392571e512
fix mock 2023-05-12 21:54:38 +02:00
Sasha
2ac286638d
fix lint 2023-05-11 00:27:56 +02:00
Sasha
ba201fb560
update mock 2023-05-11 00:25:19 +02:00
Sasha
3e27606edc
fix lint 2023-05-10 23:23:32 +02:00
Sasha
8a7121535a
merge with master 2023-05-10 23:13:14 +02:00
Sasha
1c8ec24c9e
update dependencies 2023-05-10 23:11:42 +02:00
Sasha
1c15cac893
use IReceiver with toSubscriptionIterator 2023-05-09 19:24:11 +02:00
fryorcraken.eth
4f18b886c9
feat: enable meta field to be set
Ref: https://github.com/waku-org/js-waku/issues/1208
2023-05-09 16:27:00 +10:00
weboko
00d552d659
fix tests & remove Sender 2023-04-04 01:34:13 +02:00
weboko
9eb817dd68
use ISender 2023-04-04 01:11:57 +02:00
weboko
96e4b46c42
update waku 2023-04-04 01:02:07 +02:00
Richard Ramos
6666080651 fix: use base64url WITH padding 2023-03-29 09:33:05 -04:00
Richard Ramos
bcef30c94b chore: use base64 url safe encoding for noise 2023-02-28 14:13:45 -04:00
Sasha
ad8035a012
Merge pull request #18 from waku-org/weboko/update-js-waku
chore: update js-waku version
2023-02-08 23:29:57 +01:00
weboko
cd6b78088d
use import type and add comment to karma build 2023-02-08 22:48:33 +01:00
weboko
0090efabaf
fix imports 2023-02-01 01:59:30 +01:00
weboko
0bf8f309d2
return test 2023-02-01 01:54:32 +01:00