Skip to content

Make a reused Sentinel or pairing PSK a pairing protocol error - #311

Merged
arturpragacz merged 1 commit into
mainfrom
fix/reused-psk-protocol-error
Oct 23, 2026
Merged

arturpragacz merged 1 commit into
mainfrom
fix/reused-psk-protocol-error

Conversation

@maximmaxim345

Copy link
Copy Markdown
Member

The spec requires the long-term PSK to be drawn from a CSPRNG and distinct from the pairing PSK, but didn't say what the server does when a client delivers the Sentinel PSK or the pairing PSK instead. Accepting it leaves a pairing record keyed by a public constant, or by a secret anyone with the pairing token holds.

The server now treats it as a protocol error and persists nothing.

@arturpragacz
arturpragacz merged commit da3efcd into main Oct 23, 2026
1 check passed
@arturpragacz
arturpragacz deleted the fix/reused-psk-protocol-error branch October 23, 2026 02:37
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