If other services need a yes-or-no answer from records your institution holds, start by seeing
what Registry Evidence gives them. You run it over a synthetic source, ask whether one
test person is an adult, and read "value": true from a verified response with no birth date.
Outcome
A verified adult-status assertion, with the source and a Registry Evidence run left running.
Time
About 15 minutes, plus the first image download
Level
Local development with synthetic data
Prerequisites
Python 3, tar, jq, and curlThe tools required by the release verification procedureFree loopback port 8081
For the local commands in this tutorial, declare development in your shell.
rstack dev sets this value for the processes it starts.
Download one exact rstack-vX.Y.Z-install.sh and the verification material from the same Registry
Stack release. Follow the
release verification procedure
before running the installer. From the verified release directory, install the evidence
component:
Terminal window
tag="vX.Y.Z"
bash"rstack-${tag}-install.sh"evidence
rstackevidence--version
The managed installation exposes rstack on your PATH. The evidence component supplies the
Registry Evidence runtime and its command-line tools from the same release.
Download the Evidence example projects into a fresh
working directory as evidence-examples.tar.gz, then unpack the standalone project into a
directory of its own, because the next commands write keys and responses into it:
local assurance permits locally held signing keys; production refuses it
next: Build a production or evidence-grade package with a Transit signer.
0 errors, 1 warning in 1 file
check compiled evidence.yaml against local-target.yaml, which holds the source address and the
places a deployment keeps its keys. It skips the bundle check because you have made no keys, and a
run makes its own. Ask what the project answers:
adult-status is an assertion definition: one fixed question, named by its
Requirement URI. It reads the sourceperson-record
and may return one output, the Boolean adult. The report goes on to three other definitions.
The source section names the reviewed Adapter pack and route that fetch the record, the governed
projection and schema that reduce it to private facts, and the request selector field bound to its
input. The report prints fact names and types, without the underlying source values.
The run is its own token issuer, so it needs no Docker and no database. scenarioFile names one
scenario that asks for adult status as caller before the run reports ready. Check the plan, then
start the run. Run a project with rstack dev
explains the options and how to recover a failed run:
The run packaged a copy of your project, activated its authority, and started Registry Evidence on
a free port, named by evidence_url. runtime_config is the runtime configuration of that service.
Each call below needs a short-lived token for caller. This function asks for one and prints the
header file to pass to the commands:
request prepare sends nothing to Registry Evidence. It fixes what a valid answer must match before
any response exists, using the service’s runtime configuration to pin the signing key.
Send the prepared JSON as caller. The API command uses POST because --input is present, and
writes the signed response to the named file. It takes a fresh header file for each call:
This assertion answers the Requirement URI with one value
for the adult output’s concept. The source holds a birth date for record adult; the
assertion carries only true.
The next tutorial continues with this project, with the source and the run still going, so leave
both as they are. The run stops by itself after two hours. When you are finished with it, run
rstack dev stop "$run_id" and press Ctrl+C in the source’s terminal.
You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.