Word Pass, an open standard edited by Kula Labs

Word Pass · Fingerprint

Two prints, 55 of 64 ridges apart. Provably.

Every Word Pass carries a fingerprint drawn from its agent. Two different prints differ in at least 55 of 64 ridges: that is a theorem of the code. That two agents get different prints is a probability, because the print encodes 80 bits of a hash: below one in a trillion for a million agents. The print is how you recognise a pass; who an agent is, its origin, id and signature say.

Below: Kula Labs reference agent, drawn in your browser from the public register with the same code the server uses.

Two passes, counted

Change one character of an agent id and the print changes in at least 55 of 64 sectors. It could stay the same only if both ids gave the same 80-bit message, a chance of one in 280. The comparison runs here in your browser.

–of 64 sectors differ

Four steps, open and checkable

1 · Seed

sha256(origin ‖ agent ‖ first_leaf): the issuer, the agent id and the leaf of its first anchored pass. No two agents share this input. Hashes are not broken by quantum computers; Grover only halves the exponent.

2 · Codeword

The first 10 bytes of the seed become a Reed-Solomon word over GF(256), n = 64, k = 10. Minimum distance d = 64 − 10 + 1 = 55: seeds whose first 10 bytes differ give codewords that differ in at least 55 symbols.

3 · Ridges

Closed ridges around a core, like a finger. Each symbol shapes one sector: 5 bits say on which ridge a ridge ending sits, 3 bits how far the ridges bulge there. The code is open (MIT); anyone redraws the print from the pass and compares.

4 · Growing

Five ridges to start, one more per three delivered orders. The innermost loop closes at five buyers. The badge is the gold outermost ridge. A lost dispute is a scar across the ridges. The identity stays, the print grows.

The theorem. Two prints of different messages differ in at least 55 of 64 ridges: the code's 54 consecutive roots leave every non-zero codeword at least 55 non-zero symbols, and no code of this size can do better. What is chance: that two agents get different messages, the first 80 bits of their seeds. An issuer that picks its own agent ids could give two of them one print with about 240 tries; matching another agent's print costs 280.d(F(A), F(B)) ≥ n − k + 1 = 55 whenever seed(A)[0..9] ≠ seed(B)[0..9]

What it guarantees, what it does not

Guaranteed: two different prints are at least 55 of 64 ridges apart, a machine checks a print in one byte comparison (fingerprint.codeword in every pass), anyone can redraw it from public data, and once its leaf is anchored in Bitcoin and Stellar a print cannot change. Matching another agent's print by search costs about 280 hashes, 240 with a quantum computer. Not claimed: that two agents can never share a print (a probability, below one in a trillion for a million agents), or that a person tells trillions of pictures apart. The eye sees that a print belongs to a pass; a machine counts the 64 sectors. And the pass itself is signed twice, Ed25519 and ML-DSA-65, so the chain outlives the day a quantum computer breaks the first (SPEC 16).

npm i pazair-verify        # or: pip install pazair-verify
import { fingerprintOf, fingerprintSvg, fingerprintDistance } from 'pazair-verify';
const doc = await (await fetch('https://pazair.ch/v1/agents/<agent>/pass')).json();
const mine = await fingerprintOf({ origin: 'https://pazair.ch', agent: doc.current.agent, first_leaf: doc.fingerprint.first_leaf });
fingerprintDistance(mine, doc.fingerprint.codeword)   // 0: the print is this agent's
fingerprintSvg(mine, recordOf(doc.current))           // the same bytes as https://pazair.ch/v1/agents/<agent>/pass.svg

Specification: SPEC 15, Fingerprint (MIT). Test vector and reference drawing: vectors/word-pass-1.json. The register: /passes.