Page MenuHomePhabricator

[CommCoreModule] avoid calling Backup Service to get backup secrets
Needs ReviewPublic

Authored by kamil on Fri, Nov 22, 2:23 AM.
Tags
None
Referenced Files
F3366789: D14002.diff
Mon, Nov 25, 12:28 PM
Unknown Object (File)
Fri, Nov 22, 6:45 AM
Unknown Object (File)
Fri, Nov 22, 6:45 AM
Unknown Object (File)
Fri, Nov 22, 6:45 AM
Unknown Object (File)
Fri, Nov 22, 6:42 AM
Subscribers

Details

Reviewers
bartek
tomek
Summary

Part of ENG-9656

It was identified in https://phab.comm.dev/D13849#387643.

We don't need to call the Backup Service, we have the data locally.

retrieveBackupKeys will be refactored later in the stack and used in the Restore protocol to fetch the User Keys from the backup service.

Depends on D14001

Test Plan

Tested creating backup and secondary device login

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

kamil held this revision as a draft.
native/profile/secondary-device-qr-code-scanner.react.js
180–182

Previously we had validation because we received a string, which was downloaded from the Blob service and decrypted. Right now we have a JSI object so there is need to validate this.

kamil published this revision for review.Fri, Nov 22, 4:00 AM