Franck Royer
e3015abce9
Add filter to `dial`
2022-05-27 20:37:15 +10:00
Nicholas Molnar
8aa966c2f6
Consolidate imports
2022-05-27 20:37:15 +10:00
Nicholas Molnar
cd71beb26b
Fix more comments
2022-05-27 20:37:15 +10:00
Nicholas Molnar
c534bd6cff
Add more comments
2022-05-27 20:37:14 +10:00
Nicholas Molnar
971d080ab5
Code cleanup
2022-05-27 20:37:14 +10:00
Nicholas Molnar
41f01c6d60
Fix comment
2022-05-27 20:37:14 +10:00
Nicholas Molnar
c77b74c10c
Add/delete decryption keys
2022-05-27 20:37:14 +10:00
Nicholas Molnar
5faa186b34
Add decryption keys
2022-05-27 20:37:14 +10:00
Nicholas Molnar
4734e4b7c7
Finish implementation
2022-05-27 20:37:14 +10:00
Nicholas Molnar
691de1a194
Add proto
2022-05-27 20:37:14 +10:00
Franck R
1dc4897b46
Merge pull request #760 from status-im/links
2022-05-26 19:31:41 +10:00
Franck Royer
03f0b512aa
Update Discord/TG links
2022-05-24 17:51:53 +10:00
dependabot[bot]
14a3faad41
Bump cspell from 5.18.4 to 6.0.0 in /examples/eth-pm-wallet-encryption
...
Bumps [cspell](https://github.com/streetsidesoftware/cspell ) from 5.18.4 to 6.0.0.
- [Release notes](https://github.com/streetsidesoftware/cspell/releases )
- [Changelog](https://github.com/streetsidesoftware/cspell/blob/main/CHANGELOG.md )
- [Commits](https://github.com/streetsidesoftware/cspell/compare/v5.18.4...v6.0.0 )
---
updated-dependencies:
- dependency-name: cspell
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-05-23 15:37:41 +00:00
dependabot[bot]
96a230dc14
Bump cspell from 5.18.4 to 6.0.0 in /examples/eth-pm
...
Bumps [cspell](https://github.com/streetsidesoftware/cspell ) from 5.18.4 to 6.0.0.
- [Release notes](https://github.com/streetsidesoftware/cspell/releases )
- [Changelog](https://github.com/streetsidesoftware/cspell/blob/main/CHANGELOG.md )
- [Commits](https://github.com/streetsidesoftware/cspell/compare/v5.18.4...v6.0.0 )
---
updated-dependencies:
- dependency-name: cspell
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-05-23 15:37:33 +00:00
dependabot[bot]
479735a23c
Bump cspell from 5.20.0 to 6.0.0 in /examples/web-chat
...
Bumps [cspell](https://github.com/streetsidesoftware/cspell ) from 5.20.0 to 6.0.0.
- [Release notes](https://github.com/streetsidesoftware/cspell/releases )
- [Changelog](https://github.com/streetsidesoftware/cspell/blob/main/CHANGELOG.md )
- [Commits](https://github.com/streetsidesoftware/cspell/compare/v5.20.0...v6.0.0 )
---
updated-dependencies:
- dependency-name: cspell
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-05-23 15:35:43 +00:00
status-bors-ng[bot]
2011c76b30
Merge #753
...
753: Clean up crypto/secp256k1 dupe code r=D4nte a=D4nte
Co-authored-by: Franck Royer <franck@status.im>
2022-05-20 02:24:36 +00:00
Franck Royer
2b378e7ca1
Update changelog
2022-05-20 12:22:41 +10:00
Franck Royer
c85c39a427
Consolidate signature verification logic
2022-05-20 12:06:14 +10:00
Franck Royer
2ed3580584
Remove dupe function
2022-05-20 11:49:00 +10:00
Franck Royer
6ace11f18f
Remove unused interface
2022-05-20 11:45:48 +10:00
Franck Royer
4cb8769271
Remove unused constant
2022-05-20 11:44:58 +10:00
Franck Royer
b93c876043
Consolidate compress public key functions
2022-05-20 11:42:01 +10:00
Franck Royer
479081f611
Remove unnecessary abstract class
2022-05-20 11:38:44 +10:00
Franck Royer
5e1cd78288
Remove unused code
2022-05-20 11:27:57 +10:00
Franck Royer
17c8335d6f
Remove file
2022-05-20 11:27:15 +10:00
Franck Royer
c6189170e0
Remove unused code
2022-05-20 11:05:44 +10:00
Franck Royer
ee8ba791cc
Move ecdsa sign to crypto.ts
2022-05-20 10:59:33 +10:00
Franck Royer
b3f4686da1
Use Uint8Array instead of hex string for hash
2022-05-20 10:59:32 +10:00
Franck Royer
595fb877eb
Move keccak256 function to crypto.ts
2022-05-20 10:59:32 +10:00
Franck Royer
20b3b5b667
Move common crypto functions to crypto.ts
2022-05-20 10:59:32 +10:00
status-bors-ng[bot]
e46369d968
Merge #726
...
726: Remove buffer usage r=D4nte a=D4nte
This only removes it from the code we wrote.
- `ts-proto` uses `Buffer`, the idea would be to review whether we can use the new `protons`
- Some dependencies are likely to use `Buffer`, will need review.
Co-authored-by: Franck Royer <franck@status.im>
2022-05-20 00:40:58 +00:00
Franck Royer
dbdf37a31d
Remove usage of `Buffer` from version_1.ts
2022-05-20 10:32:45 +10:00
Franck Royer
89de2e3c77
Remove `buf` variable
2022-05-20 10:32:45 +10:00
Franck Royer
06b4ab581d
Remove `Buffer` from `isMessageSigned`
2022-05-20 10:32:45 +10:00
Franck Royer
ce0c5cef07
Pass Uint8Array when possible
2022-05-20 10:32:45 +10:00
Franck Royer
5648f72d3d
Extract is message signed logic
2022-05-20 10:32:45 +10:00
Franck Royer
bd9d592fda
Remove Buffer from `getPayloadSize`
2022-05-20 10:32:45 +10:00
Franck Royer
33f52ef56d
Extract `getPayloadSize` logic
2022-05-20 10:32:45 +10:00
Franck Royer
95485f0a69
Remove `Buffer` from `getSizeOfPayloadSizeField`
2022-05-20 10:32:44 +10:00
Franck Royer
9e09de831f
Extract decoding of size of payload size field
2022-05-20 10:32:44 +10:00
Franck Royer
0964425a12
Remove `Buffer` from `validateDataIntegrity`
2022-05-20 10:32:44 +10:00
Franck Royer
64ea36faa3
Remove `Buffer` from `ecRecoverPubKey`
2022-05-20 10:32:44 +10:00
Franck Royer
76777744f0
Remove `Buffer` from `decrypt*`
2022-05-20 10:32:44 +10:00
Franck Royer
181ba489be
Remove `Buffer` from `encrypt*`
2022-05-20 10:32:44 +10:00
Franck Royer
5d32877357
Remove `Buffer` from `getSignature`, `getHash`, `getPublicKey`
2022-05-20 10:32:44 +10:00
Franck Royer
6929805425
Remove `Buffer` from `clearEncode`
2022-05-20 10:32:44 +10:00
Franck Royer
564fee29eb
Remove `Buffer` from addPayloadSizeField
2022-05-20 10:32:44 +10:00
Franck Royer
661c6227e7
Move type definition to the top
2022-05-20 10:32:43 +10:00
Franck Royer
ab3b23f100
Remove Buffer from symmetric.ts
2022-05-20 10:32:43 +10:00
Franck Royer
c66927668b
Run tsc as part of test script instead of building
2022-05-20 10:32:43 +10:00