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": "",
})

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

Metadata

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

Built distribution (wheel)

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

Total release size: 16.5 kB

Release files / algovoi_revocation_ref-0.1.0.tar.gz

Download URL algovoi_revocation_ref-0.1.0.tar.gz
Size 7.7 kB
Tags Source
SHA-256 checksum
How to use checksums
8dcc9ee2efb74078077840a3b644dae22ca1dff9adb3abe0d569de274f8c7107
BLAKE2b-256 checksum
How to use checksums
98a3d612d7a3bd14ea6c3b79f4f61670eb6151ed2bfb91c04c98602ce7bcd549
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

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

Download URL algovoi_revocation_ref-0.1.0-py3-none-any.whl
Size 8.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
66fcf2725dddde64263385c7d5858096cc83be310193f2380f060eacc18f2fe1
BLAKE2b-256 checksum
How to use checksums
b856b441dc2d574704a8e1b7c9047bf036df5cd6094c4b52988848971743261e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

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

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No 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