-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cookies not imported - follow up to 1545 #2013
Comments
This appears to affect saved passwords as well. When I reproduce with the latest build, I see the following DCHECK failure:
OSCrypt is used to decrypt both cookies and saved passwords, so if there is an issue with how we interact with oscrypt it would prevent the successful import of both data types. |
Likely related to https://chromium.googlesource.com/chromium/src/+/3ca917bd3ebea51bfcf7f8b80e39e217467153d4, which landed recently. That could explain why auto-importing cookies and passwords worked when it initially landed in brave/brave-core#729, but has stopped working recently—these changes would've come in from a recent Chromium rebase. |
The recent Chromium changes initialize oscrypt in |
Tried this, didn't work. New theory: we need to call the new |
I was testing this against 0.58.x (current master) yesterday; @bbondy pointed out there might be separate issues between 0.56.x and 0.58.x, especially if they were introduced in a recent Chromium rebase, and verifying/fixing this issue in 0.56.x should be first priority. Waiting on a build of 0.56.x now so I can repro/investigate/resolve. |
|
@darkdh I don't think that's true, because it's initialized in OSCrypt::Init, which in turn is initialized before any code that uses OSCrypt—see https://chromium.googlesource.com/chromium/src/+/43615a9db0c2690640af16fd8c24cc014c046414%5E%21/. |
yeah, but for our importer hack, it cannot be initialized |
Verified passed on
Verification Passed on
|
Description
Follow up to #1545
Using
--upgrade-from-muon
argument, cookies are not being manually imported.Steps to Reproduce
--upgrade-from-muon
--upgrade-from-muon
Actual result:
Cookies are not imported with
--upgrade-from-muon
Expected result:
Cookies should be imported with
--upgrade-from-muon
Reproduces how often:
easily
Brave version (brave://version info)
Reproducible on current release:
Website problems only:
Additional Information
Reproduced on Windows by @srirambv and @btlechowski
cc @garrettr @bsclifton
The text was updated successfully, but these errors were encountered: