Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(42)

Issue 2959173002: Update error code to ITEM_FAILURE for MAC decrypted the password.

Created:
3 years, 5 months ago by chuguev
Modified:
3 years, 5 months ago
CC:
chromium-reviews, gcasto+watchlist_chromium.org, vabr+watchlistpasswordmanager_chromium.org, mac-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Update error code to ITEM_FAILURE for MAC decrypted the password. When the encryption key for the login database is lost (deleted from the Keychain, Keychain itself deleted, or locked), and the user has some passwords stored (encrypted) in the login database, Chrome cannot "read all" passwords. Now Chrome returns all passwords that it was able to decrypt. Tested manually by removing the key from the Keychain. R=vabr@chromium.org BUG=479725

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M components/password_manager/core/browser/login_database_mac.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 9 (1 generated)
vabr (Chromium)
I think Vasilii is the best person to review this topic. Cheers, Vaclav
3 years, 5 months ago (2017-06-28 14:20:44 UTC) #2
vasilii
I'm against landing this change. It basically says 'we detected a problem, we can't recover ...
3 years, 5 months ago (2017-06-28 15:31:38 UTC) #3
chuguev
Vasilii, I understand that the problem is more complex and it should be fixed. But ...
3 years, 5 months ago (2017-06-29 07:15:04 UTC) #4
vabr (Chromium)
On 2017/06/29 07:15:04, chuguev wrote: > Vasilii, > I understand that the problem is more ...
3 years, 5 months ago (2017-06-29 07:23:09 UTC) #5
chuguev
On 2017/06/29 07:23:09, vabr (Chromium) wrote: > On 2017/06/29 07:15:04, chuguev wrote: > > Vasilii, ...
3 years, 5 months ago (2017-07-03 08:10:16 UTC) #6
vabr (Chromium)
On 2017/07/03 08:10:16, chuguev wrote: > On 2017/06/29 07:23:09, vabr (Chromium) wrote: > > On ...
3 years, 5 months ago (2017-07-03 08:15:17 UTC) #7
vasilii
The plan is that for Sync users we should delete the file and resync the ...
3 years, 5 months ago (2017-07-03 15:54:44 UTC) #8
vabr (Chromium)
3 years, 5 months ago (2017-07-03 18:21:33 UTC) #9
On 2017/07/03 15:54:44, vasilii wrote:
> The plan is that for Sync users we should delete the file and resync the
> passwords https://crbug.com/730625
> For non sync users we definitely shouldn't allow any new passwords with
another
> encryption key (we allow now). Rather we should show an error to the user
> somehow. In case the user has a backup of the Keychain, it's possible to get
the
> encryption key back. Otherwise, we may point the user to a help article or
> delete the file ourselves.
> 
> That's a medium project that requires a design doc. So far it's not assigned
to
> anyone.

Thanks, Vasilii, for the useful context.

I think the non-syncing, error-showing part might fall under
https://crbug.com/479725.

I agree with the conclusion that this is not a matter of a single CL, but a
properly done project, including a design doc before code changes.

Cheers,
Vaclav

Powered by Google App Engine
This is Rietveld 408576698