Skip to content

Decide: allow at most one pairing-code method per client #186

Closed

Description

@balloobbot

Today a client must implement Pairing PSK and may additionally implement either or both pairing-code methods (dynamic_pairing_code, static_pairing_code).

Decide whether to enforce that a client offers at most one pairing-code method: static or dynamic, not both.

For: a device with a working out-channel has no need for a static code (weaker: MITM if the code leaks), servers get a simpler method choice, and clients drop one flow plus its gating policy.

Against: no fallback when the out-channel is unusable (broken display, muted speaker), and a printed static code is the only method that works with the out-channel occupied.

No wire change either way - supported_pair_methods already carries whatever the client offers; this would only constrain what may appear there.

Activity

  1. balloob commented on Aug 28, 2026

    @balloob
    Contributor

    Decision by Paulus and Marcel: clients need to pick one. Otherwise the UX gets too complicated because we need to offer the user both options, and they will never understand the difference.

  2. moved this from Next to In Progress in Sendspin Project Boardon Aug 28, 2026
  3. added a commit that references this issue on Sep 22, 2026
    8c9577e
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

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions