Skip to content

frodobots-org/robocap-decryption-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Python and Ruby SDKs for RoboCap customer-side decryption: manage RSA key bundles and vaults, import/delete keys, unwrap CENC content keys, decrypt MP4/CENC media via FFmpeg, and provide CLI plus web API helpers.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors