Page MenuHomePhabricator

[CryptoModule] store only pickled Olm Account in User Keys Backup
ClosedPublic

Authored by kamil on Nov 26 2024, 3:29 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Dec 26, 3:37 AM
Unknown Object (File)
Mon, Dec 23, 11:14 AM
Unknown Object (File)
Mon, Dec 23, 10:48 AM
Unknown Object (File)
Mon, Dec 23, 10:37 AM
Unknown Object (File)
Thu, Dec 19, 4:46 AM
Unknown Object (File)
Wed, Dec 18, 11:10 AM
Unknown Object (File)
Sun, Dec 15, 8:17 PM
Unknown Object (File)
Sat, Dec 14, 2:43 PM
Subscribers

Details

Summary

Discussed in ENG-9659.

Restoring should work without changes, session set will be empty.

Depends on D14005

Test Plan

Test creating User Keys backup

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

kamil held this revision as a draft.
kamil published this revision for review.Nov 26 2024, 4:09 AM

Nit: Names are now a bit divergent: pickleAccountToString for account-only, and storeAsB64 for account+sessions but return types differ too. IMO storeAsB64 is misleading because Persist type isn't base64.

This revision is now accepted and ready to land.Nov 26 2024, 7:11 AM

Nit: Names are now a bit divergent: pickleAccountToString for account-only, and storeAsB64 for account+sessions but return types differ too. IMO storeAsB64 is misleading because Persist type isn't base64.

Good call. This is not related to my changes but to old code which was around for a while so I created ENG-9970.