chrome-cookies-secure icon indicating copy to clipboard operation
chrome-cookies-secure copied to clipboard

Chrome 114 "Lock profile cookie files on disk"

Open matthaak opened this issue 2 years ago • 3 comments

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 avatar Jul 31 '23 20:07 matthaak

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.

matthaak avatar Aug 03 '23 13:08 matthaak

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?

rubengmurray avatar Sep 03 '23 10:09 rubengmurray

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

mdashlw avatar Jan 04 '24 08:01 mdashlw