-
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
Type fabric_idx
is not used uniformly
#11286
Comments
operational-credentials-cluster.xml and onoff-cluster.xml based on received feedback: normalized the <access> elements. Note that the writeable <attribute> attribute indicates if a field is writeable, or not. The <access> elements qualifies provileges on a per operation basis. operational-credentials-cluster.xml: updated all <struct> elements to include <item> fieldId; updated NodeOperationalCertStatus to include missing item elements; updated NOCStruct to include a missing item element; project-chip#11286: normalized fabric_idx usage across;
project-chip#11204 project-chip#11286 Annotated the operational-credentials-cluster.xml and onoff-cluster.xml based on the Matter Specs, section 11.18, and appclusters, respectively. Normalized the <access> elements. Note that the writeable <attribute> attribute indicates if a field is writeable, or not. The <access> elements qualifies provileges on a per operation basis. updated all <struct> elements to include <item> fieldId; updated NodeOperationalCertStatus to include missing item elements; updated NOCStruct to include a missing item element; Normalized fabric_idx usage across the two updated cluster xml files.
Because we use the type to detect fabric-scoped things, this is a critical security issue. |
I was asked to check if we have any INT8U in XML items that are for FabricIndex. tl;dr other than some xmls in I did:
|
@tehampson The test-cluster bit needs to be fixed to use the right type and the right field id (0xFE). The others all look good. |
Problem
Many fabric-scoped structs use
INT8U
type instead offabric_idx
.Proposed Solution
We need to audit and update all such uses to type
fabric_idx
which is already supported.The text was updated successfully, but these errors were encountered: