[Sync] Verify passphrase type before triggering keystore initialization
Passphrase type is an important setting, that should be not downgraded even in case of data corruption. This patch changes the behavior of NigoriSyncBridgeImpl in a way it checks not only |encryption_keybag| emptiness, but also that |passphrase_type| is the default one (i.e. IMPLICIT_PASSPHRASE). Bug: 1141410 Change-Id: I1329fc3cdb4d89b73b8620db8bf389d7dd38e00e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2494810Reviewed-by:Mikel Astiz <mastiz@chromium.org> Commit-Queue: Maksim Moskvitin <mmoskvitin@google.com> Auto-Submit: Maksim Moskvitin <mmoskvitin@google.com> Cr-Commit-Position: refs/heads/master@{#820299}
Showing
Please register or sign in to comment