-
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
Fix sequence of root cert and op cert provisioning #8550
Fix sequence of root cert and op cert provisioning #8550
Conversation
c21dfd2
to
9291538
Compare
- Write attestation signature using attestation keyconnectedhomeip/src/app/clusters/operational-credentials-server/operational-credentials-server.cpp Lines 491 to 495 in 9291538
This comment was generated by todo based on a
|
- Verify that the generated root cert matches with commissioner's root certconnectedhomeip/src/controller/CHIPDeviceController.cpp Lines 1254 to 1264 in 9291538
This comment was generated by todo based on a
|
Refactor this API to match latest spec, so that GenerateNodeOperationalCertificate receives the full CSR Elements data
This comment was generated by todo based on a
|
@tcarmelveilleux the latest commit tries to address your comments. Please take a look when you get a chance.
Also updated operational credentials server to generate the NOCSR in the correct format. |
- Need a mechanism to generate CSRNonce for commissioner's CSRconnectedhomeip/src/controller/CHIPDeviceController.cpp Lines 295 to 305 in 7193a5b
This comment was generated by todo based on a
|
- Need a mechanism to generate signature for commissioner's CSRconnectedhomeip/src/controller/CHIPDeviceController.cpp Lines 306 to 312 in 7193a5b
This comment was generated by todo based on a
|
- Verify that the generated root cert matches with commissioner's root certconnectedhomeip/src/controller/CHIPDeviceController.cpp Lines 1277 to 1287 in 7193a5b
This comment was generated by todo based on a
|
Size increase report for "esp32-example-build" from 1d420e1
Full report output
|
Size increase report for "nrfconnect-example-build" from 1d420e1
Full report output
|
- Need a mechanism to generate CSRNonce for commissioner's CSRconnectedhomeip/src/controller/CHIPDeviceController.cpp Lines 295 to 305 in 50580e7
This comment was generated by todo based on a
|
- Need a mechanism to generate signature for commissioner's CSRconnectedhomeip/src/controller/CHIPDeviceController.cpp Lines 306 to 312 in 50580e7
This comment was generated by todo based on a
|
- Verify that the generated root cert matches with commissioner's root certconnectedhomeip/src/controller/CHIPDeviceController.cpp Lines 1277 to 1287 in 50580e7
This comment was generated by todo based on a
|
* Fix sequence of root cert and op cert provisioning * address review comments * Update operational credentials delegate to use single API * cleanup delegate API * Fix Android build
* Fix sequence of root cert and op cert provisioning * address review comments * Update operational credentials delegate to use single API * cleanup delegate API * Fix Android build
Problem
Current device commissioning flow is sending root certificate before getting the CSR from the device. As per specifications, the following should be the flow
Change overview
Updated the certificate provisioning flow to match the specifications.
Testing
CI runs end to end commissioning tests.
Also manually tested commissioning using Python and chip-tool controller applications.