sign-in bridge: one verifier for both doors — move the browser words door to ADR 0236's door-bound signature and presented credential (option A; AFTER #1666 is drive-green) #1668

Closed
opened 2026-09-20 17:54:39 +00:00 by ben · 2 comments
Owner

Split from #1666 by Ben's ruling (2026-09-20): option B lands now (the app door alone gets ADR 0236's verifier); this is option A, to be picked up only AFTER the IDIP drive is green with wallet-signs-in.

What

Today the sign-in bridge's browser words door verifies ADR 0212's way: the browser signs the UNBOUND message idss-idp:<aid>:<nonce> (app/src/keriweb/main.ts signedMessage), no credential is presented, and membership is answered by the control plane's roster (internal/idp/keri_verifier.go). After #1666 the app door verifies ADR 0236's way (door-bound bytes + the presented credential against the community's witnessed ledger). Two checkers on one bridge.

Option A makes it one: the words door moves to ADR 0236 too.

What to build

  • keri-web signs idss-idp:<sign-in site>:<aid>:<nonce> and presents the Membership credential (the agent already holds it — the same credentials().get(said, true) export the wallet uses).
  • The bridge binds the late-bound ledger verifier for BOTH doors; KeriVerifier and the roster membership read retire from the sign-in path (check what else reads them first).
  • A migration story for a browser tab holding the old bundle mid-rollout (the bundle is served by the gateway, so a reload fixes it — say so in the refusal copy, never a silent loop).

Why it is its own ticket

It changes every browser sign-in on every IDIP community at once — the whole SSO arc (#1547) rides on that door. It wants its own drive proof: the full IDIP journey green, both roles, before and after.

Acceptance

  • One verifier on the bridge; an unbound signature is refused at BOTH doors.
  • The IDIP journey green end to end, including member-sign-in, oidc-admin, wallet-signs-in.
  • ADR 0236 notes the words door joined it; GOTCHAS if anything bites.

Do not start before #1666 is landed and drive-proven.

Split from #1666 by Ben's ruling (2026-09-20): option B lands now (the app door alone gets ADR 0236's verifier); **this is option A, to be picked up only AFTER the IDIP drive is green with `wallet-signs-in`.** ## What Today the sign-in bridge's browser words door verifies ADR 0212's way: the browser signs the UNBOUND message `idss-idp:<aid>:<nonce>` (`app/src/keriweb/main.ts` `signedMessage`), no credential is presented, and membership is answered by the control plane's roster (`internal/idp/keri_verifier.go`). After #1666 the app door verifies ADR 0236's way (door-bound bytes + the presented credential against the community's witnessed ledger). Two checkers on one bridge. Option A makes it one: the words door moves to ADR 0236 too. ## What to build - keri-web signs `idss-idp:<sign-in site>:<aid>:<nonce>` and presents the Membership credential (the agent already holds it — the same `credentials().get(said, true)` export the wallet uses). - The bridge binds the late-bound ledger verifier for BOTH doors; `KeriVerifier` and the roster membership read retire from the sign-in path (check what else reads them first). - A migration story for a browser tab holding the old bundle mid-rollout (the bundle is served by the gateway, so a reload fixes it — say so in the refusal copy, never a silent loop). ## Why it is its own ticket It changes every browser sign-in on every IDIP community at once — the whole SSO arc (#1547) rides on that door. It wants its own drive proof: the full IDIP journey green, both roles, before and after. ## Acceptance - One verifier on the bridge; an unbound signature is refused at BOTH doors. - The IDIP journey green end to end, including `member-sign-in`, `oidc-admin`, `wallet-signs-in`. - ADR 0236 notes the words door joined it; GOTCHAS if anything bites. **Do not start before #1666 is landed and drive-proven.**
Author
Owner

The gate Ben set is met: debug IDIP fire 15 (20260920T181845Z, 9d29e9b5) went GREEN 41/41 with #1666 option B live on both doors — every browser sign-in leg on the roster verifier, wallet-signs-in on the ledger verifier. This ticket can be picked up when Ben wants it; it still wants its own full-journey drive proof before and after.

The gate Ben set is met: debug IDIP fire 15 (`20260920T181845Z`, `9d29e9b5`) went GREEN 41/41 with #1666 option B live on both doors — every browser sign-in leg on the roster verifier, `wallet-signs-in` on the ledger verifier. This ticket can be picked up when Ben wants it; it still wants its own full-journey drive proof before and after.
Author
Owner

Closed 2026-10-21 (Ben's ruling): folded into the drive checklist #2055 — the live proof this ticket still owed is now a checklist item there, to be carried by the next drives on the latest versions. A proof that fails on the drive becomes a NEW ticket; this one is not reopened.

Closed 2026-10-21 (Ben's ruling): folded into the drive checklist #2055 — the live proof this ticket still owed is now a checklist item there, to be carried by the next drives on the latest versions. A proof that fails on the drive becomes a NEW ticket; this one is not reopened.
ben 2026-10-21 21:51:38 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
Matou/idss#1668
No description provided.