This differential saves encrypted payload hash for each encrypted iOS notification in MariaDB. Combined with the parent differential this differential enables us to check if there is a match between the hash of notification delivered to iOS device and notification sent from the keyserver.
Details
Details
- Build iOS app.
- Send notification.
- Check in MariaDB that there is an entry with delivery that contains non-empty array of sha 256 hashes.
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Branch
- marcin/eng-4886
- Lint
No Lint Coverage - Unit
No Test Coverage
Event Timeline
keyserver/src/push/send.js | ||
---|---|---|
1052–1059 ↗ | (On Diff #31044) | It's good to always improve types when you touch them. Can this object be made read-only? |
1105 ↗ | (On Diff #31044) | How will we know which encrypted payload hash corresponds to which device? What do you think of having an object pointing from deviceToken to the payload hash? |
Comment Actions
Accepting since my comments are minor, but if you disagree feel free to re-request review