GeezerVison is showing github.com — id: implement hosted account + ID binding ceremony (from #2046/#2852 slice 1) · Issue #3808 · developing-today/code
id: implement hosted account + ID binding ceremony (from #2046/#2852 slice 1) #3808DescriptionChild implementation packet of #2852, gated by the settled synthesis in #2046. Implement the hosted account and binding records plus the binding ceremony from #2258 spec §§1 and 3.
Scope: service account keyed by Google sub (email is never identity); stable opaque binding_id that remains stable across key rotation; challenge proof signed by the Iroh root key and service attestation; in-browser and own-node paths; replay/expiry/failure handling; device association through existing grants. Keep key material client-held; no custodial keys. Expose encryption as a capability/option without deciding its default in this slice.
Gate: do not begin until #2046's recommended defaults are accepted for the relevant #2258 §8 parameters; if the CSE default remains unresolved, stop before exposing a product default and park/escalate with the exact question.
Acceptance: tests for both ceremony variants, wrong-key/replay/expiry/retry behavior, account/binding uniqueness, and rebind-safe binding_id; spec links and implementation PR reference this issue and #2852. Activitydeveloping-today commented on Nov 1, 2026 dezren39 commented on Nov 1, 2026 🤖 Agent note · handed off
dezren39 commented on Nov 2, 2026 developing-today commented on Nov 8, 2026 🤖 Agent note · handed off
developing-today commented on Nov 8, 2026 🤖 Agent note · handed off
dezren39 commented on Nov 8, 2026 🤖 Agent note · triaged — already solved by merged work; closing with evidence
- Agent: queue worker (
repo-worker-code), OpenChamber scheduled lane bf419306-c4ef-470f-a553-beabf93239de
- Session / ID:
ses_e5e441ca912ffe7X7PaZd6SjiJ · task 12119 (attempt 8/12)
- Found via: atomic queue claim (done-task-only audit, code#7016)
- Verified: 2026-11-08 against
developing-today/code main 3762e65642235ada51f03ac4c31f3fbea258bfea.
Verdict: the slice landed; the audit's "no evidence" was a false negative
The implementing PR is #4854 — "id: hosted account + ID binding ceremony (spec §§1,3) (#3808)", MERGED 2026-11-03T10:44:40Z — landing pkgs/id/src/hosted_binding.rs (commit 7d71731afb, on main; later hardened by #5223/#5224, #5416, #5644). The audit searched the issue timeline for a closing keyword and missed it because the PR carried (#3808) in its title and referenced the spec/tracker instead of a closes line.
Acceptance, checked against the merged code
- Account keyed by Google
sub, email never identity — HostedBindingService::signup_account rejects empty/email-shaped subs and has no email lookup (hosted_binding.rs:888-917); test email_is_never_identity.
- Stable opaque
binding_id across key rotation — minted once on the record; test binding_id_is_stable_and_round_trips_through_json.
- Challenge proof signed by the Iroh root key + service attestation —
submit_proof/complete_browser_ceremony + attest_bytes; test browser_variant_binds_and_both_signatures_verify; tamper rejection tampered_records_fail_verification.
- Both ceremony variants — in-browser and own-node pairing code (
create_pairing_code/exchange_pairing_code); tests browser_variant_binds_and_both_signatures_verify, own_node_variant_binds_through_a_pairing_code.
- Wrong-key / replay / expiry / retry — tests
wrong_key_consumes_and_retry_needs_a_fresh_challenge, replay_of_a_completed_proof_is_rejected, expired_challenge_is_not_recorded_as_consumed, expired_challenge_dies_and_a_fresh_one_works.
- Account/binding uniqueness —
account_and_key_uniqueness_conflict_route_to_rebind, first_completed_ceremony_wins_the_race.
- Device association through existing grants —
devices_attach_through_groups_grants_not_the_binding.
- Gate (id: design: ID serverless edition v1 (Cloudflare Workers) #2046 ruling) honoured — CSE offered at binding with default ON (
CSE_DEFAULT_ON, resolve_cse_choice), 30-day rebind wait (REBIND_WAITING_PERIOD_SECS); slice 2 rebind machinery lives in the same file for id: implement delayed ID-key rebind protocol (from #2046/#2852 slice 2) #3809.
- Spec/tracker links — PR body cites spec id: design: hosted provisioning + SSO→ID binding spec — account/binding records, challenge ceremony, delayed rebind, metering, export (from #2045) #2258 and tracker id: implement hosted provisioning + SSO→ID binding (from spec #2258) #2852; commit message cites id: implement hosted account + ID binding ceremony (from #2046/#2852 slice 1) #3808/id: design: hosted provisioning + SSO→ID binding spec — account/binding records, challenge ceremony, delayed rebind, metering, export (from #2045) #2258/id: implement hosted provisioning + SSO→ID binding (from spec #2258) #2852.
Nothing in this issue's scope remains. Closing as completed; the hosted-provisioning tracker #2852 still owns later slices (e.g. rebind #3809), so nothing is lost by closing this slice.
dezren39 commented on Nov 8, 2026 🤖 Agent note · closed as completed (evidence: PR #4854)
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|