Skip to content
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

- Verify that the generated root cert matches with commissioner's root cert #8732

Closed
todo bot opened this issue Jul 30, 2021 · 0 comments
Closed

- Verify that the generated root cert matches with commissioner's root cert #8732

todo bot opened this issue Jul 30, 2021 · 0 comments
Assignees
Labels

Comments

@todo
Copy link

todo bot commented Jul 30, 2021

// TODO - Verify that the generated root cert matches with commissioner's root cert
device = &commissioner->mActiveDevices[commissioner->mDeviceBeingPaired];
{
MutableByteSpan rootCert = device->GetMutableNOCChain();
uint32_t certLen = (rootCert.size() > UINT32_MAX) ? UINT32_MAX : static_cast<uint32_t>(rootCert.size());
err = ConvertX509CertToChipCert(rcac, rootCert.data(), certLen, certLen);
SuccessOrExit(err);


This issue was generated by todo based on a TODO comment in 50580e7 when #8550 was merged. cc @pan-apple.
@todo todo bot added the todo label Jul 30, 2021
@todo todo bot assigned pan-apple Jul 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants