Skip to content
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

Chrome 114 "Lock profile cookie files on disk" #55

Open
matthaak opened this issue Jul 31, 2023 · 3 comments
Open

Chrome 114 "Lock profile cookie files on disk" #55

matthaak opened this issue Jul 31, 2023 · 3 comments

Comments

@matthaak
Copy link

Chrome 114 introduces "Lock profile cookie files on disk" which breaks chrome-cookies-secure
[Error: SQLITE_CANTOPEN: unable to open database file Emitted 'error' event on Database instance at:]
{ errno: 14, code: 'SQLITE_CANTOPEN' }

@matthaak
Copy link
Author

matthaak commented Aug 3, 2023

Workaround is to launch Chrome with following flag (Windows example)
"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --disable-features=LockProfileCookieDatabase
For me this is okay because I do not use Chrome as my main browser; only to facilitate session cookies for my Node utilities via chrome-cookies-secure. But for someone using Chrome as their main browser, such disablement would obviously mean they are missing out on the security benefit that Google introduced in 114.

@rubengmurray
Copy link
Collaborator

I'm not getting this on macOS with Chrome 116.0.5845.140 when running the tests locally.

Can anyone else confirm they are also seeing this on any platform?

@mdashlw
Copy link

mdashlw commented Jan 4, 2024

I'm getting this error on Windows 11 with Chrome 120.0.6099.130. Trying to copy the cookies file in explorer fails because file is open in Google Chrome

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants