Skip to main content

Rooted SBR CLI: recover C2PA provenance for stripped media from the command line

Project description

rooted-sbr

Recover stripped C2PA provenance for AI-generated media from your terminal.

rooted-sbr is the command-line client for Rooted, an open, vendor-neutral C2PA Soft Binding Resolution (SBR) server backed by Backblaze B2. When an image loses its embedded C2PA manifest (after a screenshot or a re-encode), Rooted recovers the signed provenance by matching an invisible watermark or a perceptual-hash fingerprint, and returns it with a tamper-evident transparency-log proof.

The CLI talks to the same public SBR API the web client and the MCP server use. It defaults to the live deploy; nothing is mocked, every command hits the real service.

Install

pip install rooted-sbr

Use

# recover the provenance of a (possibly stripped) image
rooted recover stripped.jpg

# fetch a recovered manifest by id (system provenance only; personal provenance withheld)
rooted manifest urn:c2pa:demo-0000-0000-0000-000000000001

# the transparency-log inclusion proof for a manifest
rooted proof urn:c2pa:demo-0000-0000-0000-000000000001

# the advertised soft-binding algorithms, and the live service status
rooted algorithms
rooted status

Point it at your own Rooted instance with --api-url or the ROOTED_API_URL environment variable.

Provenance proves origin, not truth.

License

Apache-2.0.

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

rooted_sbr-0.1.0.tar.gz (8.3 kB view details)

Uploaded Source

Built Distribution

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

rooted_sbr-0.1.0-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

Details for the file rooted_sbr-0.1.0.tar.gz.

File metadata

  • Download URL: rooted_sbr-0.1.0.tar.gz
  • Upload date:
  • Size: 8.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for rooted_sbr-0.1.0.tar.gz
Algorithm Hash digest
SHA256 0fa107096c02f71201521092ed50aea202a1b207051873604b547bda472e6187
MD5 09df14553f7bc4a46af300d320cd79bb
BLAKE2b-256 7b745c2d0daa645d623994587fc3961055a6f534850156bf5e4b98fb278e1598

See more details on using hashes here.

File details

Details for the file rooted_sbr-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: rooted_sbr-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for rooted_sbr-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f0cf6656200d9b83215f4634107422e3acbed551cf6cd9d7c033787e9c00b623
MD5 0c3a2c4519bf44bb92a8ac47f599cf7c
BLAKE2b-256 f04ab5950defde75da6b3103c9cb9a1823d53af274b5839139da8c888c769442

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