Page MenuHomePhabricator

[identity] Verify prekeys in RefreshUserPrekeys RPC
ClosedPublic

Authored by bartek on Tue, Mar 18, 2:17 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Apr 1, 1:55 AM
Unknown Object (File)
Sat, Mar 29, 6:11 PM
Unknown Object (File)
Sat, Mar 29, 2:02 PM
Unknown Object (File)
Fri, Mar 28, 1:16 PM
Unknown Object (File)
Fri, Mar 28, 12:24 PM
Unknown Object (File)
Fri, Mar 28, 7:35 AM
Unknown Object (File)
Thu, Mar 27, 4:03 PM
Unknown Object (File)
Thu, Mar 27, 2:38 PM
Subscribers

Details

Summary
  • Adds prekey signature verification in RefreshUserPrekeys RPC (ENG-10381)
  • Some helper APIs to get notif signing public key

Depends on D14459

Test Plan

Commtest fails without D14459 which introduced valid signatures

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

bartek held this revision as a draft.
bartek published this revision for review.Tue, Mar 18, 2:50 AM

It might be good to test it on staging before publishing it to prod:

  • trigger PrekeysHandler to test client
  • trigger cron job on keyserver

A test both correct and malformed keys

This revision is now accepted and ready to land.Tue, Mar 18, 3:13 AM

It might be good to test it on staging before publishing it to prod:

  • trigger PrekeysHandler to test client
  • trigger cron job on keyserver

A test both correct and malformed keys

Good idea, I'll deploy to staging and do that