The project is in a healthy, maintained state
Ruby port of the Robocap CENC decryption SDK. Reads the same on-disk vault and MP4 format as the Python SDK.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

~> 0.2
~> 5.20
~> 13.0
 Project Readme

Robocap Decryption SDK

CI

Offline SDKs for importing RSA keys into a local vault and decrypting CENC-encrypted MP4 files.

This repository hosts multiple language ports of the same SDK. The wire format, vault layout, and error codes live in spec/ and are the source of truth for every implementation.

Implementations

Language Location Status
Python python/ Stable — see python/README.md
Ruby ruby/ Ready — see ruby/README.md

Repository layout

spec/             Format spec & error taxonomy — language-agnostic source of truth
test-vectors/     Shared fixtures: sample RSA keys, encrypted samples, expected outputs
python/           Python SDK (pyproject.toml, src/, tests/, scripts/)
ruby/             Ruby SDK (gemspec, lib/, test/)
robocap-vault/    Sample on-disk vault (language-agnostic runtime artifact)

Every SDK is expected to pass against the same fixtures under test-vectors/. A change to the binary format requires updating spec/ and both SDKs in the same PR.

Working in a single SDK

# Python
cd python && pip install -e ".[dev,web]" && pytest

# Ruby
cd ruby && bundle install && bundle exec rake test

Security note

The keys under test-vectors/ and robocap-vault/ are test fixtures only. Never use them in production.