brave-browser: [Security] Missing passwords on macOS and Linux
Description
There’s a password loss issue effecting macOS and Linux.
Narrowed down to these 2 Beta versions: Beta v1.68.106 (Chromium 126.0.6478.126) Beta v1.68.107 (Chromium 127.0.6533.26)
In https://github.com/brave/brave-core/compare/v1.68.106...v1.68.107 (while going from Chromium 126 to Chromium 127) we pulled in Remove undecryptable passwords from the login db (Chromium’s bug) and at the same time removed a patch of ours (
chromium_src/components/password_manager/core/browser/password_store/login_database.cc) that contained a change in the same exact function (LoginDatabase::StatementToForms()).
Combined effect of the two caused some passwords to be hidden in the password manager UI.
Follow-up to the original general data loss issue can be found here: https://github.com/brave/brave-browser/issues/40375
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 1
- Comments: 29 (17 by maintainers)
Commits related to this issue
- Add new `UndecryptablePasswords` study Enables the `` feature to help users who are not able to see their logins in brave://password-manager/passwords Fixes https://github.com/brave/brave-variations... — committed to brave/brave-variations by bsclifton 2 years ago
- Add new `UndecryptablePasswords` study Enables the `SkipUndecryptablePasswords` feature to help users who are not able to see their logins in brave://password-manager/passwords Fixes https://github.... — committed to brave/brave-variations by bsclifton 2 years ago
- Add new `UndecryptablePasswords` study Enables the `SkipUndecryptablePasswords` feature to help users who are not able to see their logins in brave://password-manager/passwords Fixes https://github.... — committed to brave/brave-variations by bsclifton 2 years ago
- Add new `UndecryptablePasswords` study Enables the `SkipUndecryptablePasswords` feature to help users who are not able to see their logins in brave://password-manager/passwords Fixes https://github.... — committed to brave/brave-variations by bsclifton 2 years ago
- Add new `UndecryptablePasswords` study Enables the `SkipUndecryptablePasswords` feature to help users who are not able to see their logins in brave://password-manager/passwords Fixes https://github.... — committed to brave/brave-variations by bsclifton 2 years ago
- Add new `UndecryptablePasswords` study (#1165) Enables the `SkipUndecryptablePasswords` feature to help users who are not able to see their logins in brave://password-manager/passwords Fixes http... — committed to brave/brave-variations by bsclifton 2 years ago
I can confirm that the issue is fixed. Tested with Brave 1.68.141 Chromium: 127.0.6533.120 (Official Build) (arm64) and my original
Login DataDB. All passwords are showing again.Nice work @szilardszaloki / @bsclifton !
@mario-grgic Nice find! 👍🏻
I managed to narrow it down to 2 Beta versions:
In https://github.com/brave/brave-core/compare/v1.68.106...v1.68.107 (while going from Chromium 126 to Chromium 127) we pulled in Remove undecryptable passwords from the login db (Chromium’s bug) and at the same time removed a patch of ours (
chromium_src/components/password_manager/core/browser/password_store/login_database.cc) that contained a change in the same exact function (LoginDatabase::StatementToForms()).Culprit is the combined effect of the two — will post a fix soon.
There’s likely more than one root cause at play here, as others have had this issue for quite a while now — see here.
The most recent uptick in reports, however, is most probably due to https://source.chromium.org/chromium/chromium/src/+/e3f9c0f85cb27216d031a76538c83289f2f79e7e (the login_database.cc change in particular), which went into
Chromium 127.0.6483.0— which first appeared inBrave 1.68.128(Chromium 127.0.6533.73).Will be back with a fix soon.
My general setup is covered under https://github.com/brave/brave-browser/issues/33548#issuecomment-2223246611 but can confirm, when using
1.70.18if I launch with-–enable-features=SkipUndecryptablePasswordsfrom the terminal I can see my passwords underbrave://password-manager/passwordson macOS. If I don’t use that when launching via the terminal, then then my passwords are not visible on that page.Note, my experience was limited to password loss - not tabs, bookmarks, etc.