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

Since google last update to Version 130.0.6723.59 (Official Build) (64-bit), this lib doesn't work.

Open paskaran opened this issue 1 year ago • 6 comments

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.

paskaran avatar Oct 21 '24 04:10 paskaran

+1

gudh avatar Oct 22 '24 09:10 gudh

+1

sagiwei avatar Oct 24 '24 03:10 sagiwei

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.

sagiwei avatar Nov 11 '24 07:11 sagiwei

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.

TravisL12 avatar Nov 23 '24 20:11 TravisL12

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.

xiaospace1028 avatar Dec 11 '24 11:12 xiaospace1028

https://github.com/bertrandom/chrome-cookies-secure/pull/66

rubengmurray avatar Feb 27 '25 21:02 rubengmurray

Should be fixed in 3.0.0

rubengmurray avatar Feb 28 '25 22:02 rubengmurray

https://github.com/bertrandom/chrome-cookies-secure/pull/69

Apple Silicon fix rolled in as @beta

3.0.0-beta.1

rubengmurray avatar Mar 19 '25 20:03 rubengmurray