Skip to main content

A compact Python tool to check if a Widevine device certificate (DCSL) is revoked or valid.

Project description

PyDCSL 🛡️🔐

A compact Python tool to check if a Widevine device certificate (DCSL) is revoked or valid.

📦 What is PyDCSL?

PyDCSL is a lightweight Python utility that interacts with a custom API to process Widevine license components — specifically .wvd, client_id, and private_key files — and fetch the corresponding DRM metadata.
It acts as a tool for DRM inspection, metadata extraction, and license validation purposes. The tool provides both a command-line interface (CLI) and an importable Python module.


⚙️ Features

  • 🧾 Accepts .wvd, client_id, and private_key inputs
  • 🌐 Sends requests to a Widevine DCSL-compatible API
  • 📊 Pretty-prints extracted metadata using rich (if available)
  • 🧪 Supports both CLI and importable module
  • 📁 Optionally saves results to a JSON file

🚀 Usage

🔧 Command-Line Interface

To get started with the CLI, simply run:

pydcsl -h
CLI screenshot

📋 Output Example

Here’s an example of what the output looks like when you run the tool:

Output example

🧾 License

This project is licensed under the MIT License. See the LICENSE file for more details.


❗ Disclaimer

This tool is intended for educational, debugging, and interoperability purposes only. Usage of Widevine-protected materials must comply with relevant laws and terms of service. The authors of this project do not condone or support illegal or unethical use.


🤝 Contributions

Contributions, fixes, and improvements are welcome! Feel free to open an issue or submit a pull request (PR).


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pydcsl-0.3.0.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pydcsl-0.3.0-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file pydcsl-0.3.0.tar.gz.

File metadata

  • Download URL: pydcsl-0.3.0.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.10.11 Windows/10

File hashes

Hashes for pydcsl-0.3.0.tar.gz
Algorithm Hash digest
SHA256 0946dee67282a958e1f6b00261e133ec5e5114ab0f583f16e563e3847d21ed17
MD5 b675296adc014af1dc80a8fa9bbcd821
BLAKE2b-256 a63ee17e8a91bf9faee394defb2ea1189fd94b439086f5da712a787e3e429f9f

See more details on using hashes here.

File details

Details for the file pydcsl-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: pydcsl-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 6.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.10.11 Windows/10

File hashes

Hashes for pydcsl-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b0f8c19eb7a30ea7eba9ca3c6777ea40e1cc47da29ab710ba18cd476f9b5a160
MD5 1737df19aeca114ddc7d3c9635156138
BLAKE2b-256 21aa4da278674ead0994117b51a5b9c43f663c1db20c22ceb3d9c8d0322931c4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page