Page MenuHomePhabricator

[identity] Verify prekeys in RefreshUserPrekeys RPC
ClosedPublic

Authored by bartek on Mar 18 2025, 2:17 AM.
Tags
None
Referenced Files
F6236331: D14460.id.diff
Thu, Apr 24, 3:19 PM
Unknown Object (File)
Thu, Apr 24, 8:46 AM
Unknown Object (File)
Thu, Apr 24, 3:54 AM
Unknown Object (File)
Tue, Apr 22, 10:12 PM
Unknown Object (File)
Wed, Apr 9, 11:26 AM
Unknown Object (File)
Mon, Apr 7, 4:41 PM
Unknown Object (File)
Mon, Apr 7, 1:49 PM
Unknown Object (File)
Sun, Apr 6, 3:32 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.Mar 18 2025, 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.Mar 18 2025, 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