Closed Agatha2333 closed 1 year ago
GitHub hash of the SDK that was being used na
It's not "na"; it's critically important, @Agatha2333. Which SHA was the server running? Did it include PR #28524?
I downloaded both SDKs and executed the chip-tool using the following versions:
git show e75d35a7581ced7152a4642e070c21f942ab66d7
And, both of them exhibit the same issue.
Regarding whether it includes the changes from https://github.com/project-chip/connectedhomeip/pull/28524, I am uncertain. I attempted to track this by utilizing GDB (bt) with the virtual device examples (lighting and locker). Interestingly, providing a parameter of 0 or {} appears to trigger distinct translation functions. Furthermore, during virtual device testing, any parameter, such as 3, results in the deletion of IPK.
Regarding whether it includes the changes from https://github.com/project-chip/connectedhomeip/pull/28524, I am uncertain
That's why you should include the SHA.
https://github.com/project-chip/connectedhomeip/pull/28524 merged in ceb14fda9bd3bbd200ab88394cb6b19f35bcceae
% git merge-base ceb14fda9bd3bbd200ab88394cb6b19f35bcceae e75d35a7581ced7152a4642e070c21f942ab66d7
e75d35a7581ced7152a4642e070c21f942ab66d7
so e75d35a7581ced7152a4642e070c21f942ab66d7 predates the fix. v1.1.0 is even older.
Duplicate of https://github.com/project-chip/connectedhomeip/issues/28518
Reproduction steps
spec reference: 11.2.9.4. KeySetRemove Command This command SHALL fail with an INVALID_COMMAND status code back to the initiator if the GroupKeySetID being removed is 0, which is the Key Set associated with the Identity Protection Key (IPK).
KeySetRemove Command field with uint16 type
Error.txt
Bug prevalence
NA
GitHub hash of the SDK that was being used
na
Platform
other
Platform Version(s)
NA
Anything else?
It appears that this script deletes the IPK, which could potentially cause a bug to occur on all genuine devices, such as the Govee Light strip, Nanoleaf Light strip, SwitchBot Hub 2, and EVE Energy Matter devices. Once this script is executed, subsequent scripts may prompt the devices to respond with errors like "Invalid CASE parameter" or "No shared trusted root."