-
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
[BUG] GroupKeyManagement ignores fabricFiltered request #23322
Comments
|
|
as in, it iterates only group keys for the accessing fabric index, instead of iterating all group keys and then deciding what to do with them. Similarly,
|
And the group data provider API does not seem to have a way to iterate all group info or group keys across all fabric indices (but providing the fabric index in the iteration results, so the filtering can happen at the right level).... |
We can emulate it by iterating over all fabrics and then doing the ReadXXX, if we know it's a non-fabric-filtered read |
That information is not public on AttributeValueEncoder, to keep people from trying to do weird things and shooting themselves in the foot. We could expose it, I guess, or just do the iteration unconditionally and AttributeValueEncoder will ignore things as needed. |
We were only returning the entries for the accessing fabric, not for all fabrics. Fixes project-chip#23322
…5319) We were only returning the entries for the accessing fabric, not for all fabrics. Fixes project-chip/connectedhomeip#23322
…oject-chip#25319) We were only returning the entries for the accessing fabric, not for all fabrics. Fixes project-chip#23322
Reproduction steps
1. Set up a server with 2 fabrics with some groupKeyManagement settings 2. Read GroupKeyMap and GroupTable fabric scoped list with --fabric-filtered 0 3. Resulting list only has entries from current fabric. It should have placeholder entries for the other fabric as well.
Bug prevalence
always
GitHub hash of the SDK that was being used
current
Platform
android, darwin, nrf
Platform Version(s)
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: