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

what's the matter? #4

Open
OnlyStudyCanMakeMeHappy opened this issue Oct 15, 2020 · 3 comments
Open

what's the matter? #4

OnlyStudyCanMakeMeHappy opened this issue Oct 15, 2020 · 3 comments

Comments

@OnlyStudyCanMakeMeHappy

Traceback (most recent call last):
File "", line 1, in
File "C:\Users\cjxhs\Anaconda3\lib\site-packages\browsercookie_init_.py", line 397, in chrome
return Chrome(cookie_file).load()
File "C:\Users\cjxhs\Anaconda3\lib\site-packages\browsercookie_init_.py", line 87, in load
for cookie in self.get_cookies():
File "C:\Users\cjxhs\Anaconda3\lib\site-packages\browsercookie_init_.py", line 149, in get_cookies
value = self.decrypt(item[5], item[6], key=key)
File "C:\Users\cjxhs\Anaconda3\lib\site-packages\browsercookie_init
.py", line 183, in _decrypt
return win32crypt.CryptUnprotectData(encrypted_value, None, None, None, 0)[1].decode("utf-8")
pywintypes.error: (87, 'CryptProtectData', 'The data is invalid')

@moneyblind
Copy link

There is a branch that fixes this; Issue is with a change in the encryption with chrome 80+.

@OnlyStudyCanMakeMeHappy
Copy link
Author

There is a branch that fixes this; Issue is with a change in the encryption with chrome
Is borisbabic/browser_cookie3?

@moneyblind
Copy link

That one claims to fix the issue, but I have not tested it. I grabbed another fork. I honestly am probably going to test that one as it is a little more active. You cannot go wrong with testing

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

2 participants