-
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
Expire associated secure sessions when a fabric is deleted #9571
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pullapprove
bot
requested review from
andy31415,
bzbarsky-apple,
chrisdecenzo,
Damian-Nordic,
hawk248,
jepenven-silabs,
msandstedt and
sagar-apple
September 9, 2021 17:18
msandstedt
reviewed
Sep 9, 2021
src/app/clusters/operational-credentials-server/operational-credentials-server.cpp
Outdated
Show resolved
Hide resolved
msandstedt
reviewed
Sep 9, 2021
src/app/clusters/operational-credentials-server/operational-credentials-server.cpp
Outdated
Show resolved
Hide resolved
bzbarsky-apple
requested changes
Sep 9, 2021
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
Outdated
Show resolved
Hide resolved
src/app/clusters/operational-credentials-server/operational-credentials-server.cpp
Outdated
Show resolved
Hide resolved
pan-apple
force-pushed
the
remove-fabric
branch
from
September 13, 2021 14:32
ae2a0f2
to
1f3a62a
Compare
msandstedt
approved these changes
Sep 13, 2021
bzbarsky-apple
approved these changes
Sep 13, 2021
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
woody-apple
approved these changes
Sep 13, 2021
#9642connectedhomeip/src/app/clusters/operational-credentials-server/operational-credentials-server.cpp Lines 288 to 298 in ceee4f3
This comment was generated by todo based on a
|
pan-apple
force-pushed
the
remove-fabric
branch
from
September 13, 2021 20:01
ceee4f3
to
d6c23d5
Compare
rebased |
src/app/clusters/operational-credentials-server/operational-credentials-server.cpp
Outdated
Show resolved
Hide resolved
pan-apple
force-pushed
the
remove-fabric
branch
from
September 13, 2021 20:29
d6c23d5
to
b684a68
Compare
andy31415
approved these changes
Sep 13, 2021
Size increase report for "gn_qpg-example-build" from bc2d74b
Full report output
|
Size increase report for "esp32-example-build" from bc2d74b
Full report output
|
Size increase report for "nrfconnect-example-build" from bc2d74b
Full report output
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Problem
The controller is able to send commands to the device after its fabric has been removed.
Change overview
The secure session on which the
remove fabric
command was received was not being torn down. This PR marks all secure sessions associated with the fabric as expired.Testing
Added a new test to test the
RemoveFabric
cluster command.Performed manual testing to ensure that commands sent after removing the fabric are dropped, as the session is no longer valid.