HomePhabricator
Diffusion Comm 386ac68975e4

Modify Rust restore code to avoid fetching latest backup id twice

Description

Modify Rust restore code to avoid fetching latest backup id twice

Summary: This differentila modifies the C++ and Rust backup code so that it is possible to restore without querying the backup service for backup id if it is already provided. For SIWE users we will know backup id before we want to restore since we need backup message (that comes with backup id) to prepare backup secret.

Test Plan: For now check that restoration for non-password users work. Next diff in the stack will test SIWE case.

Reviewers: kamil, bartek

Reviewed By: bartek

Subscribers: ashoat, tomek

Differential Revision: https://phab.comm.dev/D12035

Details

Provenance
marcinAuthored on May 14 2024, 5:06 AM
Reviewer
bartek
Differential Revision
D12035: Modify Rust restore code to avoid fetching latest backup id twice
Parents
rCOMM41beef91d650: Change SIWE panel props to enable passing complete SIWE message
Branches
Unknown
Tags
Unknown