Dev.to Security 🔐 Cybersecurity 👁 2 📖 2 min read

PROOF-VC: a signed claim you can check offline with zero dependencies

The problem An attestation is only useful if a third party can check it without trusting the issuer's server. So we wrote down, precisely, how a document is serialized, hashed and signed, and we published a verifier th

The problem

An attestation is only useful if a third party can check it without trusting the issuer's server. So we wrote down, precisely, how a document is serialized, hashed and signed, and we published a verifier that does not import any of the issuer's code.

What PROOF-VC is

A PROOF-VC document is a JSON payload that is:

  1. canonicalized with JCS (RFC 8785),
  2. hashed with SHA-256,
  3. signed with Ed25519 over the string "proof-vc-v2\n" followed by the digest.

Anyone can recompute the digest and check the signature against a public key. The v2.1 extension adds independent countersignatures, evaluated against a local trust policy that fails closed.

What you can do today

  • Read the specification, the public test vectors (18 + 48 cases, with public test keys) and the reference verifier, archived on Zenodo: DOI 10.5281/zenodo.24852642.
  • Install the verifier from npm: @proofxray/proof-vc-verify (0.1.0, MIT, zero dependencies, no network calls).
  • Or run the single-file verifier from https://www.proofxray.com/proof-vc/verify/ without installing anything (Node 18+, pinned key).
import { verifyEnvelope, evaluatePolicy } from "@proofxray/proof-vc-verify";

See the package README for the exact inputs and return values before copying anything.

What this does NOT prove

We would rather say this up front:

  • A valid signature proves integrity and origin only. It does not certify that any commercial claim is true.
  • It is not a guarantee of visibility in search engines or of being cited in AI answers.
  • It is not an audit by an independent body.
  • No independent third party has reviewed the verifier yet. That is the main open item, and we are looking for reviewers.
  • Revocation is not checked by the reference verifier.
  • The pinned key comes from the same governance source as the issuer. A third party should pin it independently.
  • The specifications are written in French.

How to help

Reimplement the verifier from the specification and the vectors alone, and tell us where they disagree. Reports of mismatches are more useful to us than praise.

📰 Read the original article on Dev.to Security

Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.