Fix the 'password_changed' flag in PasswordStoreChange.
Before the CL, implementation compared encrypted password values before and after an update in the password store. That may not work on Windows: - old passwords are encrypted with CryptProtectData. That function produces different results if invoked for the same string twice. - Currently we use an encryption key and Chrome utilities instead. That means the value produced with the old and new encryption techniques can't be compared. The old data hasn't been migrated to use the encryption key. The CL compares the raw password values instead. Bug: 1087310 Change-Id: If48a41b1c5d7cad4471c0f8ee48f9e89e22182d4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2220030 Commit-Queue: Vasilii Sukhanov <vasilii@chromium.org> Reviewed-by:Mohamed Amir Yosef <mamir@chromium.org> Cr-Commit-Position: refs/heads/master@{#773168}
Showing
Please register or sign in to comment