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

Fix use of certificate validity policy in CHIPDeviceController. #26405

Conversation

bzbarsky-apple
Copy link
Contributor

In CHIPDeviceControllerFactory we were using the provided validity policy for our CASE server (i.e. when acting as a CASE responder), but not for our CASE client (i.e. not when acting as CASE initiator).

As a result, when acting as a CASE client we ended up using the default validity policy for the NOC provided by the other side, instead of using the one that was passed in via the FactoryInitParams.

In CHIPDeviceControllerFactory we were using the provided validity policy for
our CASE server (i.e. when acting as a CASE responder), but not for our CASE
client (i.e. not when acting as CASE initiator).

As a result, when acting as a CASE client we ended up using the default validity
policy for the NOC provided by the other side, instead of using the one that was
passed in via the FactoryInitParams.
@github-actions
Copy link

github-actions bot commented May 6, 2023

PR #26405: Size comparison from c984f0b to 28cbf5e

Decreases (1 build for cc32xx)
platform target config section c984f0b 28cbf5e change % change
cc32xx lock CC3235SF_LAUNCHXL .debug_info 19609757 19609756 -1 -0.0
Full report (1 build for cc32xx)
platform target config section c984f0b 28cbf5e change % change
cc32xx lock CC3235SF_LAUNCHXL 0 0 0 0.0
(read only) 605090 605090 0 0.0
(read/write) 204164 204164 0 0.0
.ARM.attributes 44 44 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 197576 197576 0 0.0
.comment 206 206 0 0.0
.data 1468 1468 0 0.0
.debug_abbrev 957621 957621 0 0.0
.debug_aranges 101136 101136 0 0.0
.debug_frame 341512 341512 0 0.0
.debug_info 19609757 19609756 -1 -0.0
.debug_line 2666632 2666632 0 0.0
.debug_line_str 513 513 0 0.0
.debug_loc 33340 33340 0 0.0
.debug_loclists 1489225 1489225 0 0.0
.debug_ranges 4984 4984 0 0.0
.debug_rnglists 94315 94315 0 0.0
.debug_str 3108982 3108982 0 0.0
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 104354 104354 0 0.0
.shstrtab 265 265 0 0.0
.stack 2048 2048 0 0.0
.strtab 483384 483384 0 0.0
.symtab 287328 287328 0 0.0
.text 498612 498612 0 0.0

@woody-apple woody-apple merged commit f847d11 into project-chip:master May 9, 2023
@bzbarsky-apple bzbarsky-apple deleted the fix-certificate-policy-controller branch May 9, 2023 18:59
bzbarsky-apple added a commit to bzbarsky-apple/connectedhomeip that referenced this pull request May 12, 2023
…ect-chip#26405)

In CHIPDeviceControllerFactory we were using the provided validity policy for
our CASE server (i.e. when acting as a CASE responder), but not for our CASE
client (i.e. not when acting as CASE initiator).

As a result, when acting as a CASE client we ended up using the default validity
policy for the NOC provided by the other side, instead of using the one that was
passed in via the FactoryInitParams.
andy31415 pushed a commit that referenced this pull request May 12, 2023
…) (#26529)

In CHIPDeviceControllerFactory we were using the provided validity policy for
our CASE server (i.e. when acting as a CASE responder), but not for our CASE
client (i.e. not when acting as CASE initiator).

As a result, when acting as a CASE client we ended up using the default validity
policy for the NOC provided by the other side, instead of using the one that was
passed in via the FactoryInitParams.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants