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
F3345731: D14002.id45942.diff
Fri, Nov 22, 6:45 AM
F3345730: D14002.id45939.diff
Fri, Nov 22, 6:45 AM
F3345691: D14002.id.diff
Fri, Nov 22, 6:45 AM
F3345663: D14002.diff
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 ↗(On Diff #45942)

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