Skip to content

Mark the Pairing PSK descriptor as required - #223

Merged
maximmaxim345 merged 1 commit into
mainfrom
fix/pairing-psk-descriptor
Sep 7, 2026
Merged

maximmaxim345 merged 1 commit into
mainfrom
fix/pairing-psk-descriptor

Conversation

@maximmaxim345

Copy link
Copy Markdown
Member

#183 made advertising the Pairing PSK method mandatory, but its descriptor retained the ? optional marker. Remove that marker to align the schema with the existing requirement.

@maximmaxim345
maximmaxim345 merged commit 566bdb6 into main Sep 7, 2026
1 check passed
@maximmaxim345
maximmaxim345 deleted the fix/pairing-psk-descriptor branch September 7, 2026 16:53
maximmaxim345 added a commit to Sendspin/aiosendspin that referenced this pull request Oct 2, 2026
# What does this implement/fix?

<!-- Quick description and explanation of changes. -->

The spec requires clients to implement Pairing PSK and to always list it
in `supported_pair_methods`, so a client with
`pairing_psk_enabled=False` sent a non-compliant `client/hello`.

The client SDK now always offers Pairing PSK. Stored configs that still
contain `pairing_psk_enabled` keep loading and the value is ignored.

**Related issue or spec PR (if applicable):**

- Sendspin/spec#223

## Types of changes

<!--
Tick exactly one box. CI (.github/workflows/pr-labels.yaml) applies the
matching label, and the release notes use it to sort this change.
-->

- [ ] Bugfix (non-breaking change which fixes an issue): `bugfix`
- [ ] New feature (non-breaking change which adds functionality):
`new-feature`
- [ ] Enhancement to an existing feature: `enhancement`
- [x] Breaking change (changes the public API or the protocol in a way
that is not backwards compatible): `breaking-change`
- [ ] Refactor (no behavior change): `refactor`
- [ ] Documentation only: `documentation`
- [ ] Maintenance / chore: `maintenance`
- [ ] CI / workflow change: `ci`
- [ ] Dependencies bump: `dependencies`
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.

1 participant