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

Bug in Native AES code causes chrome cookie extraction to fail #10169

Open
9 of 10 tasks
seproDev opened this issue Jun 12, 2024 · 0 comments
Open
9 of 10 tasks

Bug in Native AES code causes chrome cookie extraction to fail #10169

seproDev opened this issue Jun 12, 2024 · 0 comments
Labels
bug Bug that is not site-specific triage Untriaged issue

Comments

@seproDev
Copy link
Collaborator

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

  • I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

Provide a description that is worded well enough to be understood

The Native AES code has a bug causing chromium cookie decryption to fail. This affects yt-dlp installs without pycryptodomex, like the py2exe builds.

Provide verbose output that clearly demonstrates the problem

  • Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
  • If using API, add 'verbose': True to YoutubeDL params instead
  • Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output

[debug] Command-line config: ['-v', '--cookies-from-browser', 'chromium']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version [email protected] from yt-dlp/yt-dlp-nightly-builds [add96eb9f] (pip)
[debug] Python 3.12.3 (CPython AMD64 64bit) - Windows-11-10.0.22631-SP0 (OpenSSL 3.0.13 30 Jan 2024)
[debug] exe versions: ffmpeg 7.0.1-full_build-www.gyan.dev (setts), ffprobe 7.0.1-full_build-www.gyan.dev, phantomjs 2.5.0, rtmpdump 2.4
[debug] Optional libraries: sqlite3-3.45.1
[debug] Proxy map: {}
Extracting cookies from chromium
[debug] Extracting cookies from: "C:\Users\User\AppData\Local\Chromium\User Data\Default\Network\Cookies"
[debug] Found local state file at "C:\Users\User\AppData\Local\Chromium\User Data\Local State"
[Cookies] Loading cookie      0/  3702WARNING: failed to decrypt cookie (AES-GCM) because the MAC check failed. Possibly the key is wrong?
Extracted 3077 cookies from chromium (380 could not be decrypted)
[debug] cookie version breakdown: {'v10': 3592, 'other': 0, 'unencrypted': 110}
[debug] Request Handlers: urllib
[debug] Loaded 1820 extractors

Usage: __main__.py [OPTIONS] URL [URL...]

__main__.py: error: You must provide at least one URL.
Type yt-dlp --help to see a list of all options.
@seproDev seproDev added bug Bug that is not site-specific triage Untriaged issue labels Jun 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug that is not site-specific triage Untriaged issue
Projects
None yet
Development

No branches or pull requests

1 participant