Skip to content

One-time computer pairing with expiring scoped device sessions #1972

Closed

Description

@currentbits

Part of remote-computer rebuild #1968. Browser/device enrollment should exchange a short-lived one-time grant for a named scoped session, rather than distributing a long-lived credential in a pairing link. Keep existing device-token and SSH compatibility paths.

Implement durable hashed enrollment grants with expiry and atomic one-use redemption, same-origin bounded exchange endpoint with explicit credential-free request, fragment-based links that are scrubbed, scoped expiring device sessions and immediate revocation/expiry enforcement. Defaults may never widen requested access. Existing Full-access device links for linked computers must remain usable or have an implemented enrollment exchange; no broken advertised links. Reuse webDevices/webScopes and existing UI rather than introducing a second auth system.

Verify replay/concurrent redemption, expiry, scope narrowing, wrong host identity, reload/scrubbing, live-session revocation and old-token compatibility with isolated data/fake providers. No external identity service or production deployment is part of this unit. No comparison-product names in public copy.

Activity

  1. added
    plan:todo
    plan:doing
    plan:done
    and removed
    plan:todo
    plan:doing
    on Nov 8, 2026
  2. currentbits commented on Nov 9, 2026

    @currentbits
    OwnerAuthor

    Merged in PR #1973 via squash commit 5f59a82. Expiring single-use browser enrollment, scoped device sessions, credential URL scrubbing and live revocation/sign-out. All 14 CI checks passed on the signed-off head.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    plan:done

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions