Skip to main content

apl-verifier

The independent verification layer for APL Sidecar.

apl-verifier verifies APL receipts offline: schema shape, canonical hash, Ed25519 signature, and chain continuity. It is fail-close — anything unexpected is a verification failure. It contains the single trust-domain normalization rule and interface-only plugin Protocols, and nothing else: no planning, no automatic decomposition, no provider transport.

Licensing

This package is, and will remain, Apache-2.0. It is distributed independently of the APL runtime. Verification must stay permanently open so anyone can check an APL receipt without depending on the runtime's licensing. The dependency direction is one-way: the runtime depends on apl-verifier; apl-verifier never imports the runtime.

Install

pip install apl-verifier

Only dependency: cryptography (Ed25519).

Use

apl-verify <receipt.json> [more_receipts_in_chain_order...] --pubkey key.pem

--pubkey is required: the caller decides which public key to trust. The tool never searches repo-relative key directories, so a receipt can never steer it to an attacker-chosen filesystem path.

Exit codes: 0 verified, 1 failed, 2 usage.

Library:

from apl_verifier import verify_receipt, verify_chain, VerifyError

Metadata

Release files for apl-verifier 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for apl-verifier 0.3.0
File Size Uploaded Provenance Actions
apl_verifier-0.3.0.tar.gz 15.8 kB With provenance Details for apl_verifier-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for apl-verifier 0.3.0
File Interpreter ABI Platform Actions
apl_verifier-0.3.0-py3-none-any.whl Python 3 none any Details for apl_verifier-0.3.0-py3-none-any.whl

Total release size: 31.6 kB

Release files / apl_verifier-0.3.0.tar.gz

Download URL apl_verifier-0.3.0.tar.gz
Size 15.8 kB
Tags Source
SHA-256 checksum
How to use checksums
479592d17913f70cd4c6229b3ae3bf648a86142b4a8f424e24f2fd06c3d76a37
BLAKE2b-256 checksum
How to use checksums
9b5c41c1ef9cfb0ce9885dd4a361b0f5657b25f81671ab765c39081ad7494cfa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 28, 2026.

Transparency log

Release files / apl_verifier-0.3.0-py3-none-any.whl

Download URL apl_verifier-0.3.0-py3-none-any.whl
Size 15.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ef920c83447a7692d5cff1b27905627feb8c22a4b903201236929608cfbe2df8
BLAKE2b-256 checksum
How to use checksums
50a655e50971e170828ddac925d9ec5125827b8337d3bfddeba2ee06941aa380
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 28, 2026.

Transparency log

Security for apl-verifier 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for apl_verifier-0.3.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 28, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page