Skip to main content

Aevum — Sigstore Rekor v2 transparency log complication.

Project description

aevum-publish

Sigstore Rekor v2 transparency log complication for Aevum.

Submits periodic chain checkpoints to an external transparency log, enabling adversarial-resistant verification: even if an operator is compromised, they cannot silently replace the chain without the external witness detecting the discrepancy.

pip install aevum-publish[rekor]
from aevum.core import Engine
from aevum.publish import PublishComplication

engine = Engine()
comp = PublishComplication(
    rekor_url="https://rekor.sigstore.dev",  # or private Rekor
    every_n_events=100,                      # checkpoint every 100 events
    every_seconds=300,                       # or every 5 minutes
)
engine.install_complication(comp)
engine.approve_complication("aevum-publish")
comp.on_approved(engine)  # must be called explicitly
# Chain now contains signed transparency.checkpoint events with Rekor inclusion proofs

Checkpoint format

Each checkpoint is a SHA-256 digest of:

{"prior_hash": "...", "sequence": 42, "signer_key_id": "...", "system_time": ...}

Submitted to Rekor as a hashedrekord entry. The Rekor log index and inclusion proof are stored in the local sigchain as a transparency.checkpoint AuditEvent, so the chain self-documents its verification history.

Private Rekor

For confidential deployments where checkpoint hashes must not be public:

comp = PublishComplication(rekor_url="https://your-private-rekor.example.com")

Without Rekor

If httpx is not installed or the Rekor endpoint is unreachable, the complication logs a warning and continues. The Engine write path is never blocked.

Environment variables

Variable Default Description
AEVUM_PUBLISH_EVERY_N_EVENTS 100 Submit checkpoint after N events
AEVUM_PUBLISH_EVERY_SECONDS 300 Submit checkpoint after N seconds

See also

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aevum_publish-0.8.0.tar.gz (15.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aevum_publish-0.8.0-py3-none-any.whl (12.4 kB view details)

Uploaded Python 3

File details

Details for the file aevum_publish-0.8.0.tar.gz.

File metadata

  • Download URL: aevum_publish-0.8.0.tar.gz
  • Upload date:
  • Size: 15.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for aevum_publish-0.8.0.tar.gz
Algorithm Hash digest
SHA256 eaa3a45f9924a2aff5c3a4c2bfd24fbf5f68c826632eddbcb6527e21e2d7ed0f
MD5 5edfe0a2349a24a89e5633a4b1786c33
BLAKE2b-256 c413f06fde7485d3768c3686ccb04894936a8def07a2ddda95762af8d26ce8c1

See more details on using hashes here.

Provenance

The following attestation bundles were made for aevum_publish-0.8.0.tar.gz:

Publisher: release.yml on aevum-labs/aevum

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file aevum_publish-0.8.0-py3-none-any.whl.

File metadata

  • Download URL: aevum_publish-0.8.0-py3-none-any.whl
  • Upload date:
  • Size: 12.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for aevum_publish-0.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a67d422edae8e70fb23231a1bc2395fc0f2e384204cd7dc0051a6c077cb4e5b8
MD5 664786060b700253514e8d891ddd0ea0
BLAKE2b-256 95820b9f36679953fa60b03d541c665c0bf69b33c65bf7db221526fe33b64204

See more details on using hashes here.

Provenance

The following attestation bundles were made for aevum_publish-0.8.0-py3-none-any.whl:

Publisher: release.yml on aevum-labs/aevum

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page