Skip to content

fix(pairing): preserve public relay URL in QR auth - #5033

Open
kn8-codes wants to merge 1 commit into
block:mainfrom
kn8-codes:fix/mobile-pairing-relay-urls
Open

fix(pairing): preserve public relay URL in QR auth#5033
kn8-codes wants to merge 1 commit into
block:mainfrom
kn8-codes:fix/mobile-pairing-relay-urls

Conversation

@kn8-codes

Copy link
Copy Markdown

Summary

  • preserve the public pairing relay URL in QR payloads
  • accept the explicitly configured pairing relay URL as a NIP-42 AUTH fallback
  • retain the tenant-origin relay URL as the primary host-binding check

This fixes path-based public HTTPS/WSS pairing proxies where the mobile client signs the scanned public relay URL while the upstream relay derives a different internal tenant origin.

Validation

  • git diff --check
  • cargo fmt --check
  • cargo test -p buzz-relay nip42_acceptable_relay_urls_includes_configured_pairing_relay_url
  • cargo check --manifest-path desktop/src-tauri/Cargo.toml

All listed checks passed.

just ci was started but exceeded the local ten-minute execution limit while the broad desktop suite was still running. It did not report a failing assertion before timeout; it is not represented as a completed full-CI pass.

Signed-off-by: kn8@theecodepoet.dev <0x0sec@gmail.com>
@kn8-codes
kn8-codes requested a review from a team as a code owner August 6, 2026 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants