Page MenuHomePhabricator

[Protos] Update uploadOneTimeKeys to include device info and both sets of keys
ClosedPublic

Authored by jon on Jun 6 2023, 10:39 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 18, 2:44 AM
Unknown Object (File)
Thu, Apr 18, 2:44 AM
Unknown Object (File)
Thu, Apr 18, 2:44 AM
Unknown Object (File)
Thu, Apr 18, 2:39 AM
Unknown Object (File)
Feb 23 2024, 7:59 PM
Unknown Object (File)
Feb 23 2024, 7:31 PM
Unknown Object (File)
Feb 23 2024, 6:40 PM
Unknown Object (File)
Feb 23 2024, 4:18 PM
Subscribers

Details

Summary

To verify the access token, we need the user_id and
device_id.

For one time keys, we need to set both notif and content keys.

Depends on D8094

Test Plan

N/A, more design

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Jun 6 2023, 11:55 AM
ashoat requested changes to this revision.Jun 7 2023, 12:40 PM
ashoat added inline comments.
shared/protos/identity_client.proto
307 ↗(On Diff #27495)

In VerifyUserAccessTokenRequest, we call this signingPublicKey. Elsewhere we refer to it as deviceIDKey.

Can you make sure we're consistent and use a single name for this throughout the whole proto?

This revision now requires changes to proceed.Jun 7 2023, 12:40 PM
jon marked an inline comment as done.
jon added inline comments.
shared/protos/identity_client.proto
307 ↗(On Diff #27495)
This revision is now accepted and ready to land.Jun 9 2023, 7:22 AM