-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
v126.x (Chrome bootstrap) unable to load cookies from prior version (Alloy bootstrap) #4847
Comments
Thanks for the detailed testing 👍 It's important to remember that Try switching back to the Ultimately this will need to be raised at https://github.com/chromiumembedded/cef/issues |
Thanks for the prompt reply, |
I had a similar problem, the point is that when we use chrome bootstrap(ChromeRuntume = true, since 125 ver.) cookies are encrypted with a key that is stored in the Local State file, but if we use alloy bootstrap cookies are encrypted with a key from LocalPrefs.json |
Please raise an issue on the https://github.com/chromiumembedded/cef/issues (post a link back here for reference). We'll need to see if |
I thought about trying to auto detect the first run with the Chrome bootstrap and initialise the Alloy bootstrap first and extract all the cookies, then load Chrome bootstrap and insert the cookies but can only initialise CEF once per process so that becomes significantly more difficult |
some success: chromiumembedded/cef#3721 (comment) Still not sure what to use to detect "first run" of Chrome bootstrap (probably the existence of Any thoughts on what else may need migrating? |
Work in progress migration, works for me YMMV :)
|
chromiumembedded/cef#3721 (comment) As |
Is there an existing issue for this?
CefSharp Version
126.2.70
Operating System
Windows 11
Architecture
x64
.Net Version
net 8.0
Implementation
WinForms
Reproduction Steps
Expected behavior
I would have expected that the cookie created in a prior version to still be available. I have just tested the process of upgrading the following versions and each time the cookies were still intact in the next version until I hit v126.2.70.
Actual behavior
no cookies appear to be in the cookie store immediately after upgrading to v126.2.70
Regression?
yes this looks like it worked in prior versions. it appears at least since 100.0.140 the cookies have been forward compatible until we reached v126.2.70
The text was updated successfully, but these errors were encountered: