Skip to main content

AOT-EV1

Deterministic evidence layer for the evidenceHash slot of ERC-8325: who asserted something, what exactly, and until when it holds — verifiable offline, years later.

  • canonical — JCS (RFC 8785 subset): no floats, ASCII keys, byte-identical output.
  • sign — strict Ed25519 (mandatory) + EIP-712 (optional [evm]).
  • verify — 12 offline checks, one error code per check, no network.
  • bundle — deterministic .aotev.zip (stored, fixed order, fixed timestamps).

Core is independent of any service; anchoring is an optional extra ([anchor]).

Usage

aotev canonical payload.json          # canonical bytes + evidence_hash
aotev sign --payload payload.json --issuer-key <seed-hex> --out signed/
aotev bundle signed/ -o evidence.aotev.zip
aotev verify evidence.aotev.zip --now 1750000000
aotev verify evidence.aotev.zip --chain previous.aotev.zip
aotev inspect evidence.aotev.zip
aotev inspect --types

Exit codes: 0 valid (including valid_legacy), 2 broken (steps 1–10), 3 signature-valid but expired/superseded/revoked or with incomplete/conflicting revocation, 4 chain error. Verification is fully offline; without --chain the status is chain: unverified and that is not an error.

The signing domain (including chainId) is stored once in manifest.domain, so verification is self-contained: aotev verify reads it from the bundle. --chain-id is only an assertion (mismatch → E_DOMAIN_MISMATCH); use the same value for aotev sign and aotev bundle. Bundle hashes are domain-prefixed (AOT-EV1-BUNDLE), while v0.1-era bundles without a manifest domain still verify as valid_legacy.

Deterministic defaults: created_at defaults to payload.valid_from, so two bundle runs over the same input produce the same file.

Test-only keys live in tests/helpers.py and vectors/; they are never used in production. Run the full suite (EIP-712 vectors need the evm dependency, included in dev):

pip install -e ".[dev]"
pytest -q

Conformance vectors are regenerated with PYTHONPATH=. python tests/test_vectors.py --write.

Status: v0.1 in development. Contract: SPEC.md (English, normative); the Russian copy is SPEC.ru.md.

License: Apache-2.0. Maintained by the AOTrust project (legal@aotrust.link).

Anchored release

This release is anchored: Shield ID a93dad4d - the published sdist of version 0.1.1 has a public first record in the AOTrust log (Ed25519-signed receipt, Merkle root committed hourly to NEAR). Verify it without trusting us, or check the whole log with the exit kit.

Metadata

Release files for aot-ev1 0.1.2

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

Source distribution (sdist)

Source distribution for aot-ev1 0.1.2
File Size Uploaded Provenance Actions
aot_ev1-0.1.2.tar.gz 59.7 kB With provenance Details for aot_ev1-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for aot-ev1 0.1.2
File Interpreter ABI Platform Actions
aot_ev1-0.1.2-py3-none-any.whl Python 3 none any Details for aot_ev1-0.1.2-py3-none-any.whl

Total release size: 90.2 kB

Release files / aot_ev1-0.1.2.tar.gz

Download URL aot_ev1-0.1.2.tar.gz
Size 59.7 kB
Tags Source
SHA-256 checksum
How to use checksums
4b1cc9ee70f1cce05eb82ab725ea3ada3791c70764defdad82bb56185dd7b45c
BLAKE2b-256 checksum
How to use checksums
ca5fbcae21c3537145106057bcd56ecca0ee10d19fdb7e3b4ffce2d880804531
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 12, 2026.

Transparency log

Release files / aot_ev1-0.1.2-py3-none-any.whl

Download URL aot_ev1-0.1.2-py3-none-any.whl
Size 30.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
069e34cb1466b356dd154a8474ac1b051b92ddd8e5fe52494652573bd4a21d0c
BLAKE2b-256 checksum
How to use checksums
88b9251620a280db26b2a0c02ed91a2fd5dc7c9b6f1b92ff932c8170dae3a00f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 12, 2026.

Transparency log

Security for aot-ev1 0.1.2

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 aot_ev1-0.1.2.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 Nov 12, 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.

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