-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Salt used for commissioning window should be randomly generated #10586
Comments
andy31415
added
v1_triage_split_2
spec
Mismatch between spec and implementation
and removed
v1_triage_split_2
labels
Jan 30, 2022
bzbarsky-apple
added a commit
to bzbarsky-apple/connectedhomeip
that referenced
this issue
Mar 24, 2022
bzbarsky-apple
added a commit
to bzbarsky-apple/connectedhomeip
that referenced
this issue
Mar 24, 2022
bzbarsky-apple
added a commit
to bzbarsky-apple/connectedhomeip
that referenced
this issue
Mar 24, 2022
Damian-Nordic
added a commit
that referenced
this issue
Mar 28, 2022
* Stop using a fixed salt when opening commissioning windows. Fixes #10586 * Address review comment. * Apply suggestions from code review to fix bug in salt size checking. Co-authored-by: Damian Królik <[email protected]> Co-authored-by: Damian Królik <[email protected]>
rochaferraz
pushed a commit
to rochaferraz/connectedhomeip
that referenced
this issue
Mar 31, 2022
…chip#16645) * Stop using a fixed salt when opening commissioning windows. Fixes project-chip#10586 * Address review comment. * Apply suggestions from code review to fix bug in salt size checking. Co-authored-by: Damian Królik <[email protected]> Co-authored-by: Damian Królik <[email protected]>
andrei-menzopol
pushed a commit
to andrei-menzopol/connectedhomeip
that referenced
this issue
Apr 14, 2022
…chip#16645) * Stop using a fixed salt when opening commissioning windows. Fixes project-chip#10586 * Address review comment. * Apply suggestions from code review to fix bug in salt size checking. Co-authored-by: Damian Królik <[email protected]> Co-authored-by: Damian Królik <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem
PASESession.cpp
defines a hardcoded salt value ("SPAKE2P Key Salt"
) which is used in relation to opening a commissioning window, inCommissioningWindowManager.cpp
,CHIPDevice.cpp
, andCHIPDeviceController.cpp
.Proposed Solution
Per 11.19.7.1. OpenCommissioningWindow (OCW) Command and 3.9. Password-Based Key Derivation Function (PBKDF), this salt should be derived from a random number source, and be between 16 and 32 bytes.
The text was updated successfully, but these errors were encountered: