HomePhabricator
Diffusion Comm bda9552147ac

[native] Expose backup ct1 and ct2 functions to JS

Description

[native] Expose backup ct1 and ct2 functions to JS

Summary:
In addition to restoreBackup(), exposed functions that separately get backup keys and data via JSI. They're needed for secondary device auth

Depends on D11344

Test Plan: Modified backupRestoreProtocol in useClientBackup to call retrieveBackupKeys and then restoreBackupData, instead of single restoreBackup() call.

Reviewers: michal, kamil

Reviewed By: michal

Subscribers: ashoat, tomek

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

Details

Provenance
bartekAuthored on Mar 18 2024, 3:49 AM
Reviewer
michal
Differential Revision
D11345: [native] Expose backup ct1 and ct2 functions to JS
Parents
rCOMMc51241adca50: [native][rust] Split download_backup to separate ct1 and ct2
Branches
Unknown
Tags
Unknown