Since google last update to Version 130.0.6723.59 (Official Build) (64-bit), this lib doesn't work.
Hi, since the last Chrome update, I've been facing an issue where I'm unable to retrieve cookies. It seems that the encryption/decryption process has changed, causing the library to return an empty string instead of the cookies.
Is this project still alive, does someone knows an alternative to this if no updates or fixes are to be expected?
Thanks.
+1
+1
https://github.com/bertrandom/chrome-cookies-secure/blob/master/index.js#L46
// change slice indexStart from 0 to 32
decoded = decoded.slice(32, decoded.length - padding);
This change above work for me, all we need is change the indexStart from 0 to 32.
https://github.com/bertrandom/chrome-cookies-secure/blob/master/index.js#L46
// change slice indexStart from 0 to 32 decoded = decoded.slice(32, decoded.length - padding);This change above work for me, all we need is change the indexStart from 0 to 32.
Bravo! This worked for me too.
https://github.com/bertrandom/chrome-cookies-secure/blob/master/index.js#L46
// change slice indexStart from 0 to 32 decoded = decoded.slice(32, decoded.length - padding);This change above work for me, all we need is change the indexStart from 0 to 32.
This worked for me too. But first, I upgraded my Node.js version, and now I'm on Node 18. I saw in other forums that it's due to a crypto version issue.
https://github.com/bertrandom/chrome-cookies-secure/pull/66
Should be fixed in 3.0.0
https://github.com/bertrandom/chrome-cookies-secure/pull/69
Apple Silicon fix rolled in as @beta
3.0.0-beta.1