@nuggetslife/keri-evidence-verifier
v0.3.1
Published
Offline KERI/ACDC receipt verifier for Nuggets Verifiable Evidence Service bundles
Keywords
Readme
KERI Evidence Verifier
@nuggetslife/keri-evidence-verifier verifies a Nuggets VES KERI/ACDC receipt bundle entirely offline. It makes no calls to Nuggets, VES, KERIA, a witness, or a blockchain.
Pass the exported evidence bundle and an independently obtained trust policy to verifyReceipt. Do not treat a policy copied from a bundle as a trust source.
import {ready, verifyReceipt} from '@nuggetslife/keri-evidence-verifier'
await ready()
const result = verifyReceipt(bundle, trustPolicy)
console.log(result.verdict, result.checks)The CLI accepts a bundle and a policy file:
nuggets-ves-verify bundle.json policy.jsonPASS means the complete supplied transcript passed the verifier's cryptographic checks. STRUCTURAL PASS means the bundle is internally consistent but lacks evidence required for full cryptographic authentication. FAIL is fail-closed.
Signature and decision integrity can be checked offline. Current non-revocation is a freshness question: establish it with a current authority/TEL lookup when that assurance is required.
Versioning
This package follows SemVer. The evidence bundle format and verifier verdicts are a public contract for third-party verifiers: any breaking change to the bundle format or to what a given verdict asserts is released as a major version bump. Bundles produced for a given major line remain verifiable by that line.
License
Copyright © Nuggets Ltd. Licensed under Apache-2.0.
