Store sync directory entities unencrypted locally if pending keys
If the cryptographer initialized but has pending keys, the whole content of the Directory will be reencrypted when pending keys gets resolved. Hence, let's simplify the logic and store the data unencrypted meanwhile. Avoiding special-treatment for this case unblocks redesigning a simpler cryptographer API. Bug: 967417 Change-Id: Ib3894bb454dbe2a0d877e7c06e5186f59806d3d6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1819250Reviewed-by:Maksim Moskvitin <mmoskvitin@google.com> Commit-Queue: Mikel Astiz <mastiz@chromium.org> Cr-Commit-Position: refs/heads/master@{#699265}
Showing
Please register or sign in to comment