Repository navigation
feat(idp-provider): passkey binding + attachment surface (#17188, slice 2 of #13973) - #17202
developing-today-fleet[bot] wants to merge 6 commits into
Conversation
…ce 2 of #13973) Account-session /account/passkeys surface: registration defaulting to the session's sign-in-path binding (standalone on explicit choice), list/rename/revoke, attach/detach, rebind. Store gains detach_provider (passkey_detach) and rename (passkey_rename) under the append-only audit discipline. FlowState carries the PasskeyService (RP derived from the issuer; store alongside the identity store, IDP_PROVIDER_PASSKEY_DB override). Refs #13973, #16731, #16655.
…ce 2 of #13973) Account-session /account/passkeys surface: registration defaulting to the session's sign-in-path binding (standalone on explicit choice), list/rename/revoke, attach/detach, rebind. Store gains detach_provider (passkey_detach) and rename (passkey_rename) under the append-only audit discipline. FlowState carries the PasskeyService (RP derived from the issuer; store alongside the identity store, IDP_PROVIDER_PASSKEY_DB override). Refs #13973, #16731, #16655.
…ce 2 of #13973) Account-session /account/passkeys surface: registration defaulting to the session's sign-in-path binding (standalone on explicit choice), list/rename/revoke, attach/detach, rebind. Store gains detach_provider (passkey_detach) and rename (passkey_rename) under the append-only audit discipline. FlowState carries the PasskeyService (RP derived from the issuer; store alongside the identity store, IDP_PROVIDER_PASSKEY_DB override). Refs #13973, #16731, #16655.
…ce 2 of #13973) Account-session /account/passkeys surface: registration defaulting to the session's sign-in-path binding (standalone on explicit choice), list/rename/revoke, attach/detach, rebind. Store gains detach_provider (passkey_detach) and rename (passkey_rename) under the append-only audit discipline. FlowState carries the PasskeyService (RP derived from the issuer; store alongside the identity store, IDP_PROVIDER_PASSKEY_DB override). Refs #13973, #16731, #16655.
…ce 2 of #13973) Account-session /account/passkeys surface: registration defaulting to the session's sign-in-path binding (standalone on explicit choice), list/rename/revoke, attach/detach, rebind. Store gains detach_provider (passkey_detach) and rename (passkey_rename) under the append-only audit discipline. FlowState carries the PasskeyService (RP derived from the issuer; store alongside the identity store, IDP_PROVIDER_PASSKEY_DB override). Refs #13973, #16731, #16655.
…ce 2 of #13973) Account-session /account/passkeys surface: registration defaulting to the session's sign-in-path binding (standalone on explicit choice), list/rename/revoke, attach/detach, rebind. Store gains detach_provider (passkey_detach) and rename (passkey_rename) under the append-only audit discipline. FlowState carries the PasskeyService (RP derived from the issuer; store alongside the identity store, IDP_PROVIDER_PASSKEY_DB override). Refs #13973, #16731, #16655.
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
|
🤖 Shepherd note — lane 0737-B (alpha DRIVE landings primary), 2026-11-30. Execution-evidence check on this PR's dispatched test run: fleet run 46423282491 ( Verdict: NOT merged — the only execution evidence on record is a failed run at a superseded head. Wake (machine-checkable): a completed passing |
Implements #17188 — slice 2 of #13973 (passkey support): the binding + attachment surface. Slice 1 (store + ceremony core, #16731) landed the store and deliberately left this surface here.
What
/account/passkeyssurface (account.rs), on the SSO (#9077): pending-link approval surface — authenticated account session, approve/reject pending claims, rate limits (remainder of #13972; unblocks #13973) #16655 account-session discipline — session required, per-account rate limit, audit record per act, and another account's credential is the same 404 as a nonexistent one:GET /account/passkeys— list the session account's own passkeys.POST /account/passkeys/register/begin/register/finish— the WebAuthn registration ceremony over the surface. At finish the binding defaults to the session's establishing sign-in path (path, bound to and attached to that provider) per SSO (#9077): passkey support (WebAuthn) — bound to the originating sign-in path by default, standalone option, unlimited, multi-provider attach #13973 §4; the explicitstandalonechoice binds to the account only.POST /account/passkeys/attach/detach/rename/rebind/revoke— the management acts, each written to the store's append-only history by the store (actorestablished-session).passkeys.rs):detach_provider(auditedpasskey_detach) andrename(auditedpasskey_rename), same transaction + event discipline as slice 1.flow.rs,lib.rs):FlowStatecarries thePasskeyService(RP id/origin derived from the issuer — the provider is its own relying party) and the parked registration ceremonies; production opens the passkey store alongside the identity store (passkeys.sqlite3sibling,IDP_PROVIDER_PASSKEY_DBoverride).FlowState::newkeeps its signature; the new constructor isnew_with_passkey_store.Verification
tests/passkey_surface.rsdrives the full acceptance over HTTP with the software authenticator — default path binding, standalone shape, attach-to-two-providers + detach, rename, revoke, cross-account 404, no-session 401, and the append-only event order.tests/passkeys.rsgains store-level attach/detach/rename and the §5 slice-2 policy-shapes test.cargo testinpkgs/idp-provider. Verdict recorded on SSO (#13973 slice 2): passkey binding + attachment surface — account-session list/rename/revoke, attach/detach, default-to-sign-in-path registration #17188 when it lands.Non-goals
Session establishment from a passkey assertion (slice 3), factor policy (#13974), recovery/deletion policy (#13973 §8 — Drew's, undecided). No per-account uniqueness anywhere (the #13975 merge constraint).
Refs #13973, #17188, #16731, #16655. Lane 0622-H (delta PRESS 2026-11-30).
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.