Commit Graph

146 Commits

Author SHA1 Message Date
Sasha 44d0eecbfb
Merge pull request #62 from EmilIvanichkovv/fix/empty-payload-error
fix: Send non-empty payload during handshake
2024-04-29 17:43:39 +02:00
Emil Ivanichkov 698b8c9802 fix: Send non-empty payload during handshake 2024-04-29 16:15:07 +03:00
Sasha 056e6509a1
feat!: add pubsub topic as parameter
feat!: add pubsub topic as parameter
2024-04-18 23:55:25 +02: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 f039d8fdd2
Merge branch 'master' of github.com:waku-org/js-noise into weboko/pubsub-contenttopic 2024-04-18 23:27:30 +02:00
Sasha 7100f31ed8
feat: add pubsub topic parameter 2024-04-18 23:26:47 +02:00
Sasha 814512cbcc
feat!: determine pubsubTopic based on contentTopic
feat!: determine pubsubTopic based on contentTopic
2024-04-16 02:09:52 +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 da1f593fb5
chore: duplicate PR#57 and update lock
chore: duplicate PR#57 and update lock
2024-04-11 17:16:28 +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
Sasha dc9b7974bb
Merge pull request #54 from EmilIvanichkovv/fix-logging-in-pairing-module
Fix logging in pairing module
2024-02-15 11:17:26 +01: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 always`16` 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
Sasha 31510dac38
feat: use IReceiver with toSubscriptionIterator 2023-05-15 10:50:43 +02: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
fryorcraken.eth b8f8ed8917
Merge pull request #36 from waku-org/feat/meta 2023-05-10 14:02:12 +10: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
Sasha 174bc32617
chore(deps): bump undici from 5.16.0 to 5.21.0 2023-04-06 01:16:38 +02:00