we want to send a contentPrekey and a notificationPrekey to the identity service on registration
Details
Details
- Reviewers
atul marcin - Commits
- rCOMM6b237d1978ae: [native] expose prekey generation to js
console.log(await commCoreModule.generateAndGetPrekey()) returns a prekey string
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
console.log output:
{"curve25519":{"AAAAAg":"sexB8fblTCASSVSMtKkcVsLHbheayl11uH76AQO33h4"}}
native/cpp/CommonCpp/NativeModules/CommCoreModule.cpp | ||
---|---|---|
531 ↗ | (On Diff #30740) | I would name this method generateAndGetContentPrekey to avoid confusion. |
native/cpp/CommonCpp/NativeModules/CommCoreModule.cpp | ||
---|---|---|
531 ↗ | (On Diff #30740) | in a later diff I change this method to return both prekeys and their respective signatures. renamed it to generateAndGetPrekeys at that point |