Trufo Provenance - core content-provenance engine (C2PA, signing, shared types).
Reason this release was yanked:
Missing remote signing public surface required by trufo remote C2PA signing.
Project description
Trufo Provenance
Trufo Provenance is Trufo's core content-provenance engine for C2PA manifest
generation, validation, remote signing integration, cryptographic signers, and
shared provenance types. It is a lower-level building block used by Trufo's
hosted services and SDKs; most application developers should install the public
trufo SDK instead of importing this package directly.
This package is in an alpha release state. APIs and schemas may change until the package enters beta.
Installation
Most SDK users should install provenance support through the public trufo SDK:
pip install "trufo[provenance]"
That SDK extra resolves this package as an implementation dependency. Direct installation is primarily for maintainers, service deployments, and low-level integration testing:
pip install "trufo-provenance[c2pa]"
The c2pa extra on trufo-provenance installs the Python dependencies needed by
the C2PA media pipeline, such as image/video helpers and file-type detection.
The native c2pa-rs bridge is bundled in the Linux wheel itself.
The distribution name is trufo-provenance; the Python import package is
tfprov for historical compatibility:
import tfprov
Python 3.10 or newer is required. Version 0.1.0 publishes Linux wheels with
the native c2pa-rs bridge bundled. macOS and Windows wheels are not published yet.
What's in here
tfprov.c2pa_py— C2PA manifest build/parse helpers, assertions, and schemas.tfprov.c2pa_rs_bridge— ctypes loader and FFI wrappers for the native c2pa-rs bridge.tfprov.c2pa_generator— Trufo claim-generation orchestration used by hosted and SDK signing flows.tfprov.crypt— signing algorithms, key handling, local signers, KMS signers, and remote signers.tfprov.util— shared media, file, and AWS helpers.
Relationship to other Trufo packages
trufo-provenance— this package; the lower-level provenance engine.trufo— the public Python SDK. SDK users installtrufodirectly; optional SDK features importtrufo-provenancefrom its published wheel.trufo-server— Trufo's hosted services. Server deployments use this library directly from the repository/deployment environment rather than through thetrufoSDK extra.
Documentation
User-facing SDK documentation lives in the trufo package. This package is
documented primarily for maintainers and service integrations.
Native (Rust) C2PA path
The C2PA signing and validation path is backed by a Rust cdylib bridge loaded
through ctypes. The Linux wheel includes libc2pa_rs_bridge.so alongside
tfprov.c2pa_rs_bridge. macOS and Windows native wheels are future work.
License
This package is distributed under the proprietary Trufo license in LICENSE. Using Trufo hosted APIs also requires valid Trufo API credentials.
Contributing
See CONTRIBUTING.md. During alpha, external issues are welcome; external pull requests are not accepted.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file trufo_provenance-0.1.0-py3-none-manylinux_2_28_x86_64.whl.
File metadata
- Download URL: trufo_provenance-0.1.0-py3-none-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 10.9 MB
- Tags: Python 3, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
64bf4301872d02d865c851a1d674c966eddf9f14be13cc9daab26dbbc917e607
|
|
| MD5 |
08418dcf48201a126ceba4e2a675771f
|
|
| BLAKE2b-256 |
0f472155d96fa2d25ae6d3508039a55d3a0d7b8fb6e265b7e9aee80da1e9da34
|
Provenance
The following attestation bundles were made for trufo_provenance-0.1.0-py3-none-manylinux_2_28_x86_64.whl:
Publisher:
publish.yml on trufo-ai/trufo-provenance
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
trufo_provenance-0.1.0-py3-none-manylinux_2_28_x86_64.whl -
Subject digest:
64bf4301872d02d865c851a1d674c966eddf9f14be13cc9daab26dbbc917e607 - Sigstore transparency entry: 1588122899
- Sigstore integration time:
-
Permalink:
trufo-ai/trufo-provenance@cb2aaeb58075277a50c6207c0aa7a486ffea0bc9 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/trufo-ai
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@cb2aaeb58075277a50c6207c0aa7a486ffea0bc9 -
Trigger Event:
release
-
Statement type: