agent-evidence-admission
Checks that an artifact has the digest its document names: a TEA artifact, a CycloneDX SBOM or VEX, or an in-toto statement.
It is for manufacturers, integrators and admission controllers that receive a compliance document for a release and need to know the document covers the bytes they actually hold.
Install
pip install agent-evidence-admission==0.1.0
Example
uvx agent-evidence-admission==0.1.0 digest-check bom.json log4j-core-2.26.1.jar
The check runs three steps: read the document (a path or an https URL), recompute the artifact's digest with every algorithm the document names, and compare. It prints one line and exits 0 when a named digest matches:
PASS log4j-core-2.26.1.jar has sha512:..., named in bom.json
It exits 1 with FAIL digest-mismatch when the bytes differ, or FAIL no-digest-named when the document names no digest at all, and 2 when the document or the artifact could not be read. Plain http URLs are refused.
Status
Version 0.1.0. The Kubernetes admission policies (Rego, Kyverno, policy-controller) live in the same repository; see the repository README.
Metadata
Release files for agent-evidence-admission 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| agent_evidence_admission-0.1.0.tar.gz | 7.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| agent_evidence_admission-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.7 kB
Release files / agent_evidence_admission-0.1.0.tar.gz
| Download URL | agent_evidence_admission-0.1.0.tar.gz |
|---|---|
| Size | 7.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2870ef6cbf34f4c7580549bc902d8c3eb3f5b5f64a93a28e2112ab57b1afcbb6
|
|
BLAKE2b-256 checksum How to use checksums |
ac95c136c845f1df4ff3f643c58481a80dccf503400f278dcce0bc2574b07cc7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.14.7
|
Release files / agent_evidence_admission-0.1.0-py3-none-any.whl
| Download URL | agent_evidence_admission-0.1.0-py3-none-any.whl |
|---|---|
| Size | 5.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bc0ab4b6bd2cbde937d4d4168c531f73030ec286745cc6f78236557fa78fe0c8
|
|
BLAKE2b-256 checksum How to use checksums |
2ed8bedae679b5f8ec66baf4f466166ae2f149b8619f8855bd56b62c8866ea94
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.14.7
|