sign-in bridge: the app door runs ADR 0212's verifier on a real gateway — it checks the UNBOUND message and ignores the credential, so every wallet sign-in is refused signature; and the door it names is not the descriptor's sign-in site #1666
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
Reference
Matou/idss#1666
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What the live gateway does (debug IDIP fire 14,
20260920T164135Z,43d856fe)The new
wallet-signs-inleg started a real sign-in hop at the Files door, asked the sign-in page's app door for its ask, and had the headless wallet present the founder's Membership credential exactly as ADR 0236 §2/§5 and matou-app do (bound bytesidss-idp:<door>:<aid>:<nonce>+ the bare credential stream). The door answered:The SAME wallet, minutes earlier in the same run, was accepted by the space-ID door (
wallet-records-spacesgreen). The wallet is right; the two doors check different things.Why
On a real gateway the sign-in bridge never binds ADR 0236's verifier.
internal/idp/bind.gobinds the ledger verifier only whenIDSS_IDP_SIGNIN_URLis set, and nothing renders it (grep -rn SIGNIN_URL internal/clan control-plane scriptsis empty). It falls through to ADR 0212'sKeriVerifier:idss-idp:<aid>:<nonce>(keri_verifier.go:89) — so a wallet's bound signature can never verify;The app door (
provider.go) shares that verifier, and with no sign-in URL it nameshttps://id.<apex>/loginas its door — while the descriptor tells the wallet the home door ishttps://<apex>/authz/signin(orgconfig.SigninURL). ADR 0236 §5: a door address the wallet was not introduced to only ever produces the first-contact prompt — so even once the signature verifies, the real app would treat its OWN community's sign-in as a stranger.The browser words door signs the unbound message too (
app/src/keriweb/main.ts:184), which is why every browser sign-in works today and nothing caught this.So, live today: app sign-in cannot work, and ADR 0236's door-bound signature (the anti-phishing half) is in force nowhere on the sign-in bridge. #1523's seam tests passed because they seed the sign-in URL by hand.
The decision (Ben's — it changes what the sign-in bridge verifies)
Option B — recommended: the APP door gets ADR 0236's verifier; the browser words door is left exactly as it is. The app door binds its own late-bound ledger verifier (bound bytes, presented credential, trust list from the recorded community identity — the #1653 source); the words door keeps ADR 0212. The wallet works; no browser sign-in on any community changes, so the whole SSO arc (#1547) carries no regression risk. The door-bound signature lands where it matters most — a QR or link from an arbitrary page is exactly the harvest ADR 0236 §5 exists to defeat.
Option A — one verifier for both doors (ADR 0236 as written). Render the sign-in URL, bind the ledger verifier for everything, and move the browser's keri-web to sign bound bytes and present the credential. Cleaner end state, but it touches every browser sign-in on every IDIP community at once. Better as its own later ticket behind B.
Either way, one address must be THE sign-in site. The ask's
door, the verifier's bound address and the descriptor'ssignin.urlmust be the same string. Recommended: the descriptor's value wins (https://<apex>/authz/signinis what wallets have baked in) and the app door names and binds THAT; the present route stays where it is onid.<apex>.Acceptance (once ruled)
presentverifies a bound signature + presented Membership credential, and refuses an unbound one (signature), an untrusted issuer, and a revoked credential.doorequals the descriptor'ssignin.urlbyte for byte.wallet-signs-inleg goes green (the browser lands in Files with no words typed).Blocks #1531. Found by Ben's session on the hand debug drive.
Ruled by Ben 2026-09-20: option B now; option A is #1668, for after the drive is green. Claimed by Ben's session — building B test-first.
Option B landed
9d29e9b5:idp.BindVerifierbinds the browser words door (roster verifier on the production shape),idp.BindAppDoorVerifier+WithAppDoorVerifiergive the app door the late-bound ADR 0236 ledger verifier. Red-first binding tests + a two-fakes seam test that the app door never shares the words door's verifier. ADR 0236 amended, GOTCHAS #292. This also takes back #1667's whole-bridge switch (it would have refused every browser sign-in; it reached no community) while keeping its rendered address andResolvedSignInURL(). Seam-proven; the next IDIP fire proves it live. Option A is #1668.