Page MenuHomePhabricator

[identity] Add device list timestamp verification
ClosedPublic

Authored by bartek on Thu, Apr 18, 6:15 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Apr 28, 11:07 AM
Unknown Object (File)
Mon, Apr 22, 10:11 AM
Unknown Object (File)
Mon, Apr 22, 10:05 AM
Unknown Object (File)
Sun, Apr 21, 3:15 PM
Unknown Object (File)
Thu, Apr 18, 6:25 PM
Unknown Object (File)
Thu, Apr 18, 6:24 PM
Unknown Object (File)
Thu, Apr 18, 6:23 PM
Subscribers

Details

Summary
  • Updated transact_update_devicelist to accept input timestamp, instead of always generating new. It's still optional for Identity-managed device list updates
  • Added timestamp verification criteria according to the whitepaper
Test Plan
  • Manually called the UpdateDeviceListRPC with valid / invalid timestamps
  • Updated integration test (previously failing due to dummy timestamp)
  • Added unit tests

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

bartek held this revision as a draft.
bartek edited the test plan for this revision. (Show Details)
bartek published this revision for review.Fri, Apr 19, 3:30 AM
bartek added inline comments.
services/identity/src/constants.rs
168 ↗(On Diff #39268)

Value from whitepaper section 6.2.3

This revision is now accepted and ready to land.Mon, Apr 22, 2:35 PM