Skip to main content

algovoi-revocation-ref

Content-addressed revocation references for the AlgoVoi substrate: revoke a delegation (or other authority) before it expires, tamper-evidently. The revocation_ref is the content hash of the revocation envelope, so any change to the target, time, reason or revoker changes the ref and is detectable offline. Revocations chain via prev_revocation_ref.

revocation_ref = "sha256:" + SHA-256(JCS(RFC 8785)({
    prev_revocation_ref, reason, revoked_at_ms, revoked_ref, revoker_id }))

revoked_at_ms is an integer-millisecond timestamp; reason is one of COMPROMISE, SUPERSEDED, POLICY, EXPIRY, MANUAL. Construction, tamper-detection and chain verification only, fully offline.

Install

pip install algovoi-revocation-ref

Use

from algovoi_revocation_ref import revocation_ref, verify_chain

ref = revocation_ref({
    "revoker_id": "did:web:example.com",
    "revoked_ref": "sha256:" + "a" * 64,
    "reason": "COMPROMISE",
    "revoked_at_ms": 1737000000000,
    "prev_revocation_ref": "",
})

Wiring into Keystone

A revocation binds a Keystone grant by reference. revoked_ref is the content-addressed reference of the delegation (or other authority) being pulled back, and revocations chain through prev_revocation_ref into a tamper-evident sequence you check with verify_chain. A decision or journey compares its references against the revocation chain so nothing acts under a revoked grant.

This package is construction, tamper-detection and chain verification only. The revocation cascade proof (that an action at or after revoked_at_ms acted under revoked authority, even across several hops) is a separate AlgoVoi component, the commercial Orchestrator.

Apache-2.0. Byte-identical to the TypeScript twin.

Metadata

Release files for algovoi-revocation-ref 0.5.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 algovoi-revocation-ref 0.5.0
File Size Uploaded Provenance Actions
algovoi_revocation_ref-0.5.0.tar.gz 8.3 kB Without provenance Details for algovoi_revocation_ref-0.5.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for algovoi-revocation-ref 0.5.0
File Interpreter ABI Platform Actions
algovoi_revocation_ref-0.5.0-py3-none-any.whl Python 3 none any Details for algovoi_revocation_ref-0.5.0-py3-none-any.whl

Total release size: 18.2 kB

Release files / algovoi_revocation_ref-0.5.0.tar.gz

Download URL algovoi_revocation_ref-0.5.0.tar.gz
Size 8.3 kB
Tags Source
SHA-256 checksum
How to use checksums
247d65865a33399c0a09eebdd4dc108d33f9ca76f623ddb13429c459a0d5e129
BLAKE2b-256 checksum
How to use checksums
104e03e7b53c23a4edb6486c9b176fed5539982ae91b9f0b14aca43adfc37db6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.10

Release files / algovoi_revocation_ref-0.5.0-py3-none-any.whl

Download URL algovoi_revocation_ref-0.5.0-py3-none-any.whl
Size 9.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8c06cf9d3912a4467522f7922b5f255d8f1038c5030bcc3f0e15a5f1ec9bcf33
BLAKE2b-256 checksum
How to use checksums
4b4162610c41eb1648707a36c655867b45acac14b0949e2218fc60f45c7c0d74
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.10

Security for algovoi-revocation-ref 0.5.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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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