New:Microsoft Teams Notifications Are Now Available in Socket.Learn more
Get Started

@algovoi/keystone-vc

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

@algovoi/keystone-vc

Emit an AlgoVoi keystone decision as a W3C Verifiable Credential (DM 2.0) with recomputable executionRef (Apache-2.0). Byte-identical to algovoi-keystone-vc (PyPI).

latest
npmnpm
Version
0.1.0
Version published
Maintainers
1
Created
Source

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.

Keywords

w3c

FAQs

Package last updated on 27 Jun 2026

Related posts