-
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
Use node ID provided in the NOC #8826
Use node ID provided in the NOC #8826
Conversation
929504f
to
b52b72f
Compare
If possible, please break those out into a separate changeset. |
I tried splitting it into two PRs. That was before I got it to a working state. Let me try again and see if it could be split. |
62d2dee
to
f5e7db2
Compare
src/app/clusters/operational-credentials-server/operational-credentials-server.cpp
Show resolved
Hide resolved
src/app/clusters/operational-credentials-server/operational-credentials-server.cpp
Outdated
Show resolved
Hide resolved
src/app/clusters/operational-credentials-server/operational-credentials-server.cpp
Outdated
Show resolved
Hide resolved
src/app/clusters/operational-credentials-server/operational-credentials-server.cpp
Show resolved
Hide resolved
src/app/clusters/operational-credentials-server/operational-credentials-server.cpp
Show resolved
Hide resolved
src/app/clusters/operational-credentials-server/operational-credentials-server.cpp
Show resolved
Hide resolved
src/app/clusters/operational-credentials-server/operational-credentials-server.cpp
Outdated
Show resolved
Hide resolved
src/app/clusters/operational-credentials-server/operational-credentials-server.cpp
Show resolved
Hide resolved
src/app/clusters/operational-credentials-server/operational-credentials-server.cpp
Show resolved
Hide resolved
src/app/clusters/operational-credentials-server/operational-credentials-server.cpp
Show resolved
Hide resolved
src/app/clusters/operational-credentials-server/operational-credentials-server.cpp
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Technical review complete. This is a great step in the right direction. Minor nits present and some follow-up issues were called-out as needing to be filed/fixed.
* Use node ID and fabric ID provided in the NOC * update CHIPTool for modified opcreds cluster * remove more checks for NodeID * split cluster changes from the current PR * rename functions and variables * address review comments * Fix build issues
Problem
Node ID and Fabric ID are assigned via operational certificates. Currently, the code is inferring these IDs from the received messages.
Change overview
Get node ID and fabric ID (combined as PeerID aka Operational ID) from the node operational certificate.
This change resulted in a lot of other cleanup
Testing
CASE, PASE and IM tests run as part of CI.
Also tested end to end flow using chip-tool, Python controller and iOS controller app.