Skip to main content

algovoi-keystone-vc

Emit an AlgoVoi keystone decision as a W3C Verifiable Credential (Data Model 2.0). The credential uses our own KeystoneExecutionCredential type and @context, so it needs no registration. The content-addressed executionRef is the credentialSubject.id; a consumer recomputes it from the subject with only JCS (RFC 8785) + SHA-256, so the credential is content-bound before any signature suite is applied. Signing (a DataIntegrityProof such as eddsa-jcs-2022) is the issuer's step.

from algovoi_keystone_vc import to_verifiable_credential, verify_vc_execution_ref
vc = to_verifiable_credential(decision_ref=dr, action_type="payment", scope="payments/transfer",
                              outcome="COMMITTED", executed_at_ms=1716460800000,
                              issuer="did:web:api.algovoi.co.uk")
assert verify_vc_execution_ref(vc)   # recompute from credentialSubject, offline

Apache-2.0.

Metadata

Release files for algovoi-keystone-vc 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-keystone-vc 0.1.0
File Size Uploaded Provenance
algovoi_keystone_vc-0.1.0.tar.gz 7.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for algovoi-keystone-vc 0.1.0
File Interpreter ABI Platform
algovoi_keystone_vc-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 16.3 kB

Release files / algovoi_keystone_vc-0.1.0.tar.gz

Download URL algovoi_keystone_vc-0.1.0.tar.gz
Size 7.6 kB
Tags Source
SHA-256 checksum
How to use checksums
b26668034af4de1db686c147e6cb634eba82dc500b86c18d1b168ac2148a8350
BLAKE2b-256 checksum
How to use checksums
43b0544b106ed51cee12a6e284e36d999de25a8f4ef1d2fdecb02a11f16d93fa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

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

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

Security for algovoi-keystone-vc 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