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

[Twitter] Why is it flashing "[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?" when I tried downloading Twitter account??? #4050

Closed
AnImEpRo3690 opened this issue May 11, 2023 · 1 comment

Comments

@AnImEpRo3690
Copy link

Command I'm using: gallery-dl https://twitter.com/amanopikamee --write-metadata -o skip=true --cookies-from-browser brave

PS C:\Users\kensh> gallery-dl https://twitter.com/amanopikamee --write-metadata -o skip=true --cookies-from-browser brave
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?
[cookies][warning] failed to decrypt cookie (AES-GCM) because MAC check failed. Possibly the key is wrong?

@mikf
Copy link
Owner

mikf commented May 11, 2023

Because it is trying to decrypt all your cookies and fails at some, while there is currently no proper limit for these error messages.

As a workaround, use --cookies-from-browser brave/twitter.com if you are using the latest gallery-dl version (1.25.4) to restrict the extracted cookies to only twitter.com and .twitter.com .

mikf added a commit that referenced this issue May 12, 2023
- only show the same warning/error once
- simplify and capitalize logging messages
@mikf mikf closed this as completed May 12, 2023
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