Skip to content

Fixed issues in the PSK implementation#386

Merged
fdesbiens merged 2 commits into
eclipse-threadx:devfrom
fdesbiens:PSK-fix
May 28, 2026
Merged

Fixed issues in the PSK implementation#386
fdesbiens merged 2 commits into
eclipse-threadx:devfrom
fdesbiens:PSK-fix

Conversation

@fdesbiens

@fdesbiens fdesbiens commented May 20, 2026

Copy link
Copy Markdown
Contributor

This PR build upon work by @tkEmLogic. Their initial PR (#379) fixed an issue where the PSK identity sent in ClientKeyExchange was defaulting to the first entry in the store rather than selecting the matching PSK.

While validating that path, I found a few related PSK issues that affected broader coverage, especially ECDHE-PSK handling, client-side identity emission, and preserving the selected PSK identity when the client uses the PSK store path.

fdesbiens added 2 commits May 12, 2026 11:37
Implemented logic to cache the PSK store entry selected by the server identity hint so ClientKeyExchange emits the matching identity when clients use the PSK store path.

Cast the ECC supported-group test value to USHORT so the PSK identity regression builds cleanly with -Werror on Linux.

Assisted-By: Codex gpt-5.5
@fdesbiens fdesbiens moved this to In review in ThreadX Roadmap May 28, 2026
@fdesbiens fdesbiens changed the base branch from master to dev May 28, 2026 13:27
@fdesbiens fdesbiens merged commit de51ca2 into eclipse-threadx:dev May 28, 2026
23 of 25 checks passed
@github-project-automation github-project-automation Bot moved this from In review to Done in ThreadX Roadmap May 28, 2026
@fdesbiens fdesbiens deleted the PSK-fix branch May 28, 2026 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

1 participant