VSO · Practical verification guides

VCP Explorer verification guide: from screen to result

Read VCP Explorer badges, browser Merkle checks, hash-link comparisons and SDK Evidence Demo results, and preserve evidence without overstating verification.

Start with the question you want to answer

Open VCP ExplorerOpen SDK Evidence Demo

  1. Explore the interface: use the dashboard and event details. The public legacy views use synthetic mock records; record their source before interpreting any badge.
  2. Inspect a supplied inclusion proof: open an event, select Merkle Proof and run the browser check. Keep the event hash, leaf index, audit path, root and tree size together.
  3. Compare signed synthetic cases: open SDK Evidence Demo, select a case and choose Run verification. Read both Local checks and Full evidence, then the individual checks.

The public app uses hash routes such as /explorer/app/#/evidence-demo. A UUID in the search box is treated as a Trace ID; choose Open as Event ID to open a single event. Unsupported text or hash searches produce a validation message. See the pinned search contract.

Read each screen within its actual scope

Screen → result → next check
What you seeWhat it meansWhat to do next
Demo data / legacy dashboardSynthetic records for exploring the interface. A switch to API mode changes the source, not the trustworthiness of its contents.Record mock/API mode and the response source.
Anchored, Pending, FailedSupplied status metadata. Displayed transaction details do not establish an authenticated external anchor.Obtain and authenticate external evidence separately.
Verified (API-reported)The source status says VERIFIED. This badge does not run browser verification.Read the underlying report and its trust assumptions.
UnknownThe status is absent or not recognized; it is not promoted to a successful result.Inspect the response and request the missing information.
Merkle proof matchA browser computation matches the supplied root, using the supplied tree size.Review the limits in the inclusion section below.
Event certificateA JSON/print view of event information.Retain it as a display artifact; it is not VC-Certified status or a compliance finding.

Badge wording is defined in StatusBadge.tsx. An API-reported claim, a browser inclusion calculation and an SDK report are different evidence sources.

Merkle Proof: a match against a supplied root and size

The browser uses SHA-256 to evaluate the supplied event hash, leaf index and audit path against the supplied root and tree_size. The size must be a positive JavaScript safe integer; the index, complete 32-byte hexadecimal hashes and exact path length must also pass input checks. A legacy response without a tree size remains not verified; the browser does not infer the size.

A match does not recompute the event hash from the displayed payload, verify event or root signatures, authenticate the root or size, or verify an external anchor. The legacy mock fixture has 12 leaves derived from SHA-256("0") through SHA-256("11"); those are not hashes of the displayed event payloads.

Keep the input-validation error or root mismatch with the exact proof response. When navigation or refreshed data clears a result, run verification again for the newly displayed proof. Do not carry a result across different responses. The pinned README describes the algorithm and fixture; the request-state guide describes result invalidation.

Hash Chain: compare links without assuming completeness

The Hash Chain view compares each supplied prev_hash with the preceding returned record’s event_hash. The order and selection of returned records matter.

Hash Chain inspection outcomes
ResultInterpretation and next action
LINKS_MATCHAt least two records were inspected and the compared values match. Retain the record order and number of compared links.
LINK_MISMATCHA compared value differs. Check for an omitted or reordered intervening record before attributing the mismatch to tampering.
INSUFFICIENT_DATAToo few records to compare links. Request the required records; this is not a successful check.
INVALID_DATAAn input check failed, such as malformed hashes, duplicate event IDs or inconsistent IDs. Inspect the supplied data.

Even with matching links, cryptographic integrity is NOT_CHECKED and completeness is NOT_ESTABLISHED. This view does not recompute payload hashes, check signatures or anchors, authenticate the first record’s predecessor, or prove that all activity was recorded. The Hash Chain scope document keeps these limits separate from the SDK path.

SDK Evidence Demo: compare all three cases

The first-party integration uses Python SDK-generated signed synthetic evidence. The API runs the TypeScript SDK and returns its report; the browser displays that report and does not independently repeat its cryptographic checks.

  1. Open SDK Evidence Demo. Read the displayed API source and disclosure. A case list is metadata; loading it has not performed verification.
  2. Choose a case and select Run verification. Read Local checks, Full evidence, trust configuration, per-check reasons and unresolved external checks.
  3. Repeat for the other cases. Changing cases clears the previous result; an unavailable or inconsistent response produces an error instead of a replacement verdict.
Expected results for the fixed synthetic cases
CaseLocal checksFull evidenceReason
IntactVALIDINDETERMINATEConfigured-key checks pass, but independently authenticated external anchor evidence is absent.
TamperedINVALIDINVALIDA signed order payload changes without re-signing; recomputed hash, signature and inclusion checks fail.
Missing keyINDETERMINATEINDETERMINATEThe intact bytes are supplied without configured trusted actor/root verification keys.

The SDK path recomputes payload-derived hashes, verifies event/root signatures against separately selected keys, checks batch and chain relationships, and binds inclusion proofs to the supplied events and batch. Only external_anchor and root_authenticity are excluded from the local aggregate; they remain visible and contribute to Full evidence. Local VALID is not full verification.

The signing key is public RFC 8032 TEST 1 material: anyone can sign with it. It establishes no operational identity. AnchorRecord metadata consistency checks do not expand its root-only signature coverage. See the integration recipe and API verification boundary.

When the API is unavailable, record “no result”

A timeout, HTTP error, offline-paused request or malformed report is not a cryptographic INVALID verdict. No successful request means no verification result from that request. A loading state, an empty result, a known missing record and a retrieval error are separate states. Failed or unresolved refreshes must not be read as fresh cached evidence.

If the page says Connect an evidence API, no API is configured and no verification has run. If it reports Evidence API unavailable or Verification did not complete, retain the error, URL and time, then retry when appropriate. The Evidence Demo never falls back to legacy mock results.

To continue, explicitly choose the pinned offline replay guide. After preparing that reviewed SDK checkout and installing/building dependencies, use one input mode:

# Bundled synthetic cases from the reviewed SDK checkout
node tools/replay_explorer_demo.mjs

# A complete verification response that you actually saved
node tools/replay_explorer_demo.mjs --api-response ./complete-api-response.json --json

The second command requires the complete API response, not only event JSONL. Replay uses separately selected local trust and makes no network request after setup. A bundled case does not recover a missing response or prove service availability. Exit 0 means the fixed-demo expectations matched, including the expected tampered result; it does not mean every case was VALID. Keep fixture_bytes_match, matches_expected_outcome and, when present, matches_api_claim as separate claims.

Keep the evidence needed for another review

  • Context: date/time, app URL and route, selected case/event/Trace ID, source mode, displayed endpoint and reviewed revisions.
  • Results: both aggregate statuses, every check with its reason/scope/subject, trust configuration notice, and any HTTP or input error.
  • Inputs: the complete API verification response if you obtained one; exact event JSONL and AnchorRecord strings; all proof fields, including root, tree size, index and audit path.
  • Replay: selected input mode, source commit, separate trust choice and full fresh output. Keep a fresh run separate from saved historical evidence.

After a successful Evidence Demo response, its Download event JSONL and Download AnchorRecord controls preserve the API’s raw inner strings. Those files do not replace a complete verification response. Do not parse and reserialize signed inner JSON with ordinary JavaScript numbers: a nanosecond integer such as 1793145600123456789 can be rounded. Preserve the original signed bytes; use the SDK’s strict parser for computation.

For a replayable response, use the browser’s Network panel to save the complete JSON response body of a successful GET /v1/evidence-demo/cases/{case-id}/verification request as UTF-8 text. A file containing only event JSONL is not a complete API response.

A screenshot or printed certificate records a presentation, not the full verification inputs. If an input or report was not obtained, record that absence instead of substituting a fixture.

Keep source revisions and deployed services separate

This guide was reviewed on . The public static GUI build is based on vcp-explorer-gui@3627b075. Its legacy routes are built in mock mode; its Evidence Demo has a separately configured API endpoint. Configuration does not establish current connectivity or authenticate the server’s deployed source.

The 28 November public GUI build record records the source commit, configuration and asset hashes. It records no API redeployment.

The API reference here is fixed at vcp-explorer-api@6004d377. Reading that source does not establish that the optional public service runs that revision. Publishing the static GUI or this guide does not deploy the API. The local integration recipe pins its own SDK/API pair; preserve those pins when following it. The offline replay instructions use a separately reviewed SDK revision, 0832f1d.

These are first-party demonstrations. First-party CI, saved-evidence rechecks and independent fresh reproduction are distinct; independent third-party reproduction has not been established. Proposed repairs and experimental extensions remain unadopted. No screen, successful local check or CI run establishes full VCP/VAP conformance, production readiness, legal compliance or certification.

Sources and reviewed revisions

These references are pinned to commits. Writing this page is not a new cryptographic experiment or a live API availability check.

Continue with the relevant guide