Page MenuHomePhabricator

[native] Backup testing button
ClosedPublic

Authored by michal on Nov 28 2023, 7:00 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sep 3 2024, 6:17 PM
Unknown Object (File)
Sep 3 2024, 6:17 PM
Unknown Object (File)
Sep 3 2024, 6:17 PM
Unknown Object (File)
Sep 3 2024, 6:16 PM
Unknown Object (File)
Sep 3 2024, 6:16 PM
Unknown Object (File)
Aug 26 2024, 8:08 PM
Unknown Object (File)
Aug 26 2024, 6:34 PM
Unknown Object (File)
Aug 26 2024, 7:07 AM
Subscribers

Details

Summary

ENG-5699

This is the final testing task for rust native encryption. This diff rewires the current backup testing logic to use the native encryption (the existing logic already handles uploading and downloading backups from the backup service, but previously it called encryption from JS).

Depends on D10055

Test Plan
  1. Enable backup encryption
  2. Test the restore procedure -> check that there are no errors
  3. Modify user store (e.g. relationship status) to trigger new backup upload
  4. Test the restore procedure again -> check that there are no errors

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

native/backup/use-client-backup.js
28 ↗(On Diff #33940)

Removed as a successful decryption of UserKeys is a requirement for a successful decryption of UserData, so we are still checking it. And now it's harder to check this in specific as it's done in rust.

Would be nice to test it on both platforms and physical devices, in past this test helped me catch some issues

native/backup/use-client-backup.js
99 ↗(On Diff #33940)

thanks for fixing this typo

This revision is now accepted and ready to land.Nov 30 2023, 2:32 AM