Skip to main content

aetherproof-verify

Offline, zero-trust verifier for AetherProof v1 signed manifests.

AetherProof is a cryptographic provenance system for AI-generated code. Every code artifact produced by an AetherProof-enabled pipeline is paired with a signed manifest containing the exact SHA-256 of the code, the prompt that generated it, the verifier gate evidence, the provider attestation, and the timestamp — all signed with an Ed25519 key and canonicalized per RFC 8785 (JCS).

This package lets any auditor, buyer, or third party verify those manifests entirely offline, without contacting any AetherProof server.


Install

pip install aetherproof-verify

All wheels published to PyPI are signed with PEP 740 attestations via PyPI Trusted Publishers (OIDC → Sigstore), bound to this package's public GitHub repository. See Supply-chain posture below.

Usage

You need three inputs to verify a manifest:

  1. The manifest JSON — fetched from https://api.aetherlang.online/v1/manifests/{id}, or delivered out-of-band.
  2. The public key — fetched from https://keys.aetherlang.online/keys.json and converted to PEM, or pinned out-of-band.
  3. (Optional) The expected fingerprint — pinned from a trusted source. Belt-and-suspenders: catches silent key rotation.

CLI

aetherproof-verify check \
  --manifest ./manifest.json \
  --pubkey ./key.pem \
  --fingerprint sha256:f95a45bdc15db8f6ef61fa853366e860726aefe16474e943ebe79b132a17e022

Or via module invocation (equivalent):

python -m aetherproof_verify check --manifest ./m.json --pubkey ./k.pem

Library

from pathlib import Path
from aetherproof_verify.__main__ import check

rc = check(Path("manifest.json"), Path("key.pem"), expected_fpr=None)
assert rc == 0  # EXIT_OK

You can also import the Pydantic schema directly for custom integrations:

from aetherproof_verify.schema import AetherProofManifest

Exit codes

Code Meaning
0 OK — signature valid and fingerprint matches
1 Signature mismatch — payload was tampered or wrong key used
2 Fingerprint mismatch — wrong key or silent rotation
3 Schema validation error — malformed manifest
4 File I/O error — cannot read manifest or key

What this verifier does

  1. Parses the manifest JSON (supports both bare manifest and the {request_id, manifest, canonical_bytes_len} envelope returned by api.aetherlang.online).
  2. Schema-validates the payload against the frozen Pydantic v1 schema mirror (extra="forbid", frozen=True).
  3. Fingerprint-gates — computes SHA-256 of the raw Ed25519 public key bytes and matches against the public_key_fpr embedded in the manifest. If --fingerprint is passed, additionally pin-checks against it.
  4. Cryptographically verifies — reconstructs canonical bytes via RFC 8785 JCS over the manifest with the signature field removed, and verifies the Ed25519 signature.

No network calls. No telemetry. No side channels.

Trust boundaries

AetherProof operates four independent trust boundaries:

Boundary Role
github.com/contrario/aetherproof-verify Source of this verifier
keys.aetherlang.online Public key distribution (keys.json)
releases.aetherlang.online Reproducible demo bundle (tarball)
api.aetherlang.online Manifest lookup (/v1/manifests/{id})

A compromise of any one boundary does not grant control of the others. Buyers should verify each independently.

Supply-chain posture

  • Build provenance: every release wheel is built in GitHub Actions and attested via PEP 740 / Sigstore. The attestation binds the artifact digest to this repository's workflow identity.
  • Trusted Publishers: publishing to PyPI uses OIDC token exchange (no long-lived API tokens). See PyPI docs.
  • Reproducible builds: deterministic tarball and wheel construction; same source tree + same build environment → byte-identical artifact.
  • Pinned dependencies: all transitive dependencies locked in pyproject.toml; cryptography>=46.0.7 (no known CVEs at release time).
  • Zero-network verify: the CLI makes no network calls. Everything needed is passed as file paths.

Security model assumptions

  • You trust your own Python interpreter and the cryptography library built against your OpenSSL.
  • You obtained the public key through a channel you trust (HTTPS to keys.aetherlang.online with a modern CA root bundle, or out-of-band delivery).
  • You obtained this package through PyPI with trusted-publisher attestation intact, or built it from source yourself after auditing.

If any of these assumptions fail, verification results are meaningless. Verify your chain of custody before relying on verification output.

Development

git clone https://github.com/contrario/aetherproof-verify
cd aetherproof-verify
python -m venv .venv && . .venv/bin/activate
pip install -e ".[dev]"
pytest

License

Apache License 2.0 — see LICENSE.

Security contact

Report vulnerabilities privately to security@aetherlang.online. Do not open public issues for suspected security flaws.

Metadata

Release files for aetherproof-verify 0.1.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 aetherproof-verify 0.1.0
File Size Uploaded Provenance
aetherproof_verify-0.1.0.tar.gz 12.0 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for aetherproof-verify 0.1.0
File Interpreter ABI Platform
aetherproof_verify-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 23.2 kB

Release files / aetherproof_verify-0.1.0.tar.gz

Download URL aetherproof_verify-0.1.0.tar.gz
Size 12.0 kB
Tags Source
SHA-256 checksum
How to use checksums
38c75652d5a465adb8cf061afcd9663f5a73e0437e87cfb6926cce67576c7fb9
BLAKE2b-256 checksum
How to use checksums
5dc6b80915d079ca9e1656466503ae619f52ef486f3305b760ac6aaca20a28e1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 Apr 21, 2026.

Transparency log

Release files / aetherproof_verify-0.1.0-py3-none-any.whl

Download URL aetherproof_verify-0.1.0-py3-none-any.whl
Size 11.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1e0869cd77783929fcbfa63a27ea1fc10cf258634f197399a807e487c9088c29
BLAKE2b-256 checksum
How to use checksums
72db7cbe46a6d33a01c9a87504f60a9e478b52a8b5962941231536b4f8139e2d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 Apr 21, 2026.

Transparency log

Security for aetherproof-verify 0.1.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

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for aetherproof_verify-0.1.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 Apr 21, 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.1.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