Python bindings for the in-toto Attestation Framework. This library provides models and serialization for creating, verifying, and bundling software attestations according to the in-toto specification (v1.0+). Current version is 0.9.3 on PyPI, but the library is under active development with GitHub releases up to v1.2.0. The PyPI package lags behind the specification releases; users should prefer the latest GitHub release for up-to-date functionality.
pip install in-toto-attestationVerified import paths — ran on the pinned version, not inferred.
Create a simple in-toto Statement and serialize it to JSON.
Install from GitHub: pip install git+https://github.com/in-toto/attestation.git@v1.2.0
Use from in_toto_attestation.v1 import Statement (and other classes).
Update DigestSet usage to accept non-cryptographic digests if needed.
Use stmt.to_dict() then json.dumps(...).
No dependency data recorded yet.