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.4.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| algovoi_revocation_ref-0.4.1.tar.gz | 8.2 kB | Without provenance | Details for algovoi_revocation_ref-0.4.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| algovoi_revocation_ref-0.4.1-py3-none-any.whl | Python 3 | none | any | Details for algovoi_revocation_ref-0.4.1-py3-none-any.whl |
Total release size: 18.2 kB
Release files / algovoi_revocation_ref-0.4.1.tar.gz
| Download URL | algovoi_revocation_ref-0.4.1.tar.gz |
|---|---|
| Size | 8.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c925a9cb6d2681883599597cfd7944b21919b5d9d789b702d59fe1a6a95c14ea
|
|
BLAKE2b-256 checksum How to use checksums |
cc86e0f7e90844956c6f096ec07ad2212466c8cf39ddec6ca93853efd4086ba8
|
| 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.4.1-py3-none-any.whl
| Download URL | algovoi_revocation_ref-0.4.1-py3-none-any.whl |
|---|---|
| Size | 9.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ae0418a697f1541500d3b5b4e8a41c9761aea89556252bc243b4ea9f109492df
|
|
BLAKE2b-256 checksum How to use checksums |
a9e4625d4ec56ff161d027f98ce9e1fa55cb65583ba568f0839965bd30dcf9ee
|
| 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.4.1
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.