commit | bffa0d3a2ca1779357c673487aa6de841ed96101 | [log] [tgz] |
---|---|---|
author | Mohamed Amir Yosef <mamir@chromium.org> | Tue Mar 05 13:53:46 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Mar 05 13:53:46 2019 |
tree | d4b8cb45fb081562dd5bbd9084d14b35ccbd046c | |
parent | 7a40094adec148850ec3f26346ae465e8c5cfd5e [diff] |
[Sync::USS] Issue password db clean up in case of encryption failure. The password manager stores the password in an encrypted form. The decryption key is stored in platform-specific storage, but in case that decryption key is lost (e.g. migrating the user directory from a machine to another), the passwords in the stores will always be undecryptable. For syncing user, during initial merge, we try to clean up the password store by deleting all undecryptable passwords. At merge time, the store is empty and hence will be filled with data from the sync server. This functionality has been implemented in the PasswordSyncableService in the directory implementation. This CL implements the same functionality in the PasswordSyncBridge the USS counter part. It is worth noting though that the merge logic is run on every start in the directory, while in USS, it's invoked only during initial sync. Bug: 935996,902349 Change-Id: I755f887a3849176cb3b9a7e05f3d4c333f8f623c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1503315 Commit-Queue: Mohamed Amir Yosef <mamir@chromium.org> Reviewed-by: Marc Treib <treib@chromium.org> Reviewed-by: Vasilii Sukhanov <vasilii@chromium.org> Cr-Commit-Position: refs/heads/master@{#637673}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .