Skip to content

web: the roster is the only source of witness keys#1

Open
bordumb wants to merge 1 commit into
mainfrom
roster-trust
Open

web: the roster is the only source of witness keys#1
bordumb wants to merge 1 commit into
mainfrom
roster-trust

Conversation

@bordumb

@bordumb bordumb commented Jul 19, 2026

Copy link
Copy Markdown
Contributor

Closes the trust circularity found in the witness-network review: both surfaces verified statements against issuer keys carried in the same untrusted payload, so any server or node could mint a key and verify itself.

  • The admissions key is pinned in the app bundle at build time — never read from the served document.
  • /directory.json becomes a roster document: its attestation must re-check under the pinned key AND its exact roster bytes must hash to the rid the attestation signed (content binding, checked with WebCrypto before any entry is parsed).
  • Entry issuer keys reach the pages only from a roster that passed both checks.
  • The node console judges a build statement solely by the verified roster's key for the node's claimed did; an unlisted node's statement is withheld, fail closed. Any issuer_key the node serves is ignored.
  • Fixtures regenerate the signed roster + pinned key; READMEs stop naming a CLI command that does not exist.

🤖 Generated with Claude Code

Both surfaces verified statements against issuer keys carried in the same
untrusted payload — any server or node could mint a key and verify itself.
Now the admissions key is pinned in the app bundle at build time; the
roster document re-checks under that pinned key AND its bytes must hash
to the rid its attestation signed; entry keys reach the pages only from a
roster that passed both. The node console judges a build statement solely
by the roster key for the node's claimed did (unlisted node: withheld,
fail closed), ignoring any issuer_key the node serves. READMEs stop
naming a CLI command that does not exist.

Auths-Id: did:keri:EB5cPHY0t-ejNC_rUzPS1dclTvd6kG-R9mQzjozCuGgd
Auths-Device: did:keri:EB5cPHY0t-ejNC_rUzPS1dclTvd6kG-R9mQzjozCuGgd
Auths-Anchor-Seq: 13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant