I have a script that has been running fine over the last couple of years, but has suddenly stopped tonight (20240907). This is the error that I got
"""
Error message: Unable to get key for cookie decryption
Traceback (most recent call last):
File "browser_cookie3_init_.py", line 539, in decrypt
File "browser_cookie3_init.py", line 530, in decrypt_windows_chromium
File "browser_cookie3_init.py", line 89, in _crypt_unprotect_data
RuntimeError: Failed to decrypt the cipher text with DPAPI
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "browser_cookie3_init_.py", line 555, in _decrypt
File "Cryptodome\Cipher_mode_gcm.py", line 567, in decrypt_and_verify
File "Cryptodome\Cipher_mode_gcm.py", line 508, in verify
ValueError: MAC check failed
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "", line 918, in
File "", line 821, in main
File "", line 256, in simulation_dependent_variables
File "browser_cookie3_init_.py", line 1160, in chrome
File "browser_cookie3_init_.py", line 515, in load
File "browser_cookie3_init_.py", line 557, in _decrypt
browser_cookie3.BrowserCookieError: Unable to get key for cookie decryption
"""
I had to previously implement the --disable-features=LockProfileCookieDatabase in my chrome shortcut, but other than that I have had no issues. I am currently running browser-cookie3==0.19.1 in python 3.10.12. I am guessing that it's probably a chrome update that lead to this error.
Thank you, and I appreciate all the help that you can provide.
I have a script that has been running fine over the last couple of years, but has suddenly stopped tonight (20240907). This is the error that I got
"""
Error message: Unable to get key for cookie decryption
Traceback (most recent call last):
File "browser_cookie3_init_.py", line 539, in decrypt
File "browser_cookie3_init.py", line 530, in decrypt_windows_chromium
File "browser_cookie3_init.py", line 89, in _crypt_unprotect_data
RuntimeError: Failed to decrypt the cipher text with DPAPI
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "browser_cookie3_init_.py", line 555, in _decrypt
File "Cryptodome\Cipher_mode_gcm.py", line 567, in decrypt_and_verify
File "Cryptodome\Cipher_mode_gcm.py", line 508, in verify
ValueError: MAC check failed
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "", line 918, in
File "", line 821, in main
File "", line 256, in simulation_dependent_variables
File "browser_cookie3_init_.py", line 1160, in chrome
File "browser_cookie3_init_.py", line 515, in load
File "browser_cookie3_init_.py", line 557, in _decrypt
browser_cookie3.BrowserCookieError: Unable to get key for cookie decryption
"""
I had to previously implement the
--disable-features=LockProfileCookieDatabasein my chrome shortcut, but other than that I have had no issues. I am currently runningbrowser-cookie3==0.19.1in python 3.10.12. I am guessing that it's probably a chrome update that lead to this error.Thank you, and I appreciate all the help that you can provide.