Noticed this in this comment.
For native, prekey rotation was performed every 10 minutes.
Details
Details
- Reviewers
tomek kamil ashoat - Commits
- rCOMMfdaeb3d85ccc: [native] Fix prekey rotation period
Printed a log when the prekey was rotated. Previously, it was triggered after 10 minutes passed and e.g. restarting the app. Now it doesn't happen
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
| native/cpp/CommonCpp/CryptoTools/CryptoModule.cpp | ||
|---|---|---|
| 472–473 ↗ | (On Diff #47850) | Interesting that the C++ layer measures in seconds but the JS layer does milliseconds |
| native/cpp/CommonCpp/CryptoTools/CryptoModule.cpp | ||
|---|---|---|
| 472–473 ↗ | (On Diff #47850) | The C++ code uses std::time() which returns epoch seconds, while JS uses Date.getTime() which returns millis. |