Page MenuHomePhabricator

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

Authored by kamil on Tue, Nov 26, 3:29 AM.
Tags
None
Referenced Files
F3388485: D14044.diff
Fri, Nov 29, 2:33 PM
Unknown Object (File)
Tue, Nov 26, 8:44 PM
Unknown Object (File)
Tue, Nov 26, 8:44 PM
Unknown Object (File)
Tue, Nov 26, 8:44 PM
Unknown Object (File)
Tue, Nov 26, 8:44 PM
Unknown Object (File)
Tue, Nov 26, 8:44 PM
Unknown Object (File)
Tue, Nov 26, 8:44 PM
Unknown Object (File)
Tue, Nov 26, 8:44 PM
Subscribers

Details

Reviewers
bartek
tomek
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
Branch
backup
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

kamil held this revision as a draft.
kamil published this revision for review.Tue, Nov 26, 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.Tue, Nov 26, 7:11 AM