Skip to content

matter-netman: update the SDK pin, declare PROVIDES and the mbedTLS requirement - #58

Merged
ksperling-apple merged 4 commits into
project-chip:mainfrom
LorbusChris:matter-netman-package-metadata
Aug 18, 2026
Merged

matter-netman: update the SDK pin, declare PROVIDES and the mbedTLS requirement#58
ksperling-apple merged 4 commits into
project-chip:mainfrom
LorbusChris:matter-netman-package-metadata

Conversation

@LorbusChris

Copy link
Copy Markdown
Contributor

Split out of #53 as suggested — self-contained.

PROVIDES:=matter-netman. Neither variant declared it, so the name existed for nothing to depend on or install. Declared in the shared block, the way miniupnpd, geoip-shell and mtr do in openwrt/packages.

+@MBEDTLS_CCM_C in the mbedtls variant's DEPENDS. CHIP's mbedTLS backend needs AES-CCM, which is default n in OpenWrt; the requirement lived only as a sentence in the package description. .config.ci sets the option, so this repo's own builds were fine, but a build without that seed got an undefined reference to mbedtls_ccm_init. +@ selects the symbol; a plain @ would hide the variant from menuconfig instead.

The description now says what the device attestation is worth: the SDK's development certificate for the CSA test ids 0xFFF1/0x8013, whose private key is published in the SDK source — so attestation cannot distinguish this router from anything else presenting it.

SDK pin moved to 72ecdc2b (30 July), PKG_RELEASE back to 1. Both existing patches apply at fuzz zero, so neither needed refreshing; this is the version block #53 already carries, so it sheds the hunk when this lands. Both variants build from a clean tree in the repo's CI image.

@mergify

mergify Bot commented Aug 17, 2026

Copy link
Copy Markdown

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

@ksperling-apple

Copy link
Copy Markdown
Contributor

@LorbusChris can you please rebase with commit signing enabled?

LorbusChris and others added 4 commits August 17, 2026 20:40
The daemon reports a real manufacturer and product name, read from the
firmware, beside the Connectivity Standards Alliance test vendor id 0xFFF1.
That pairing is the right one — the names are accurate and useful, and a
community build cannot claim a vendor id it does not hold — but it leaves the
package silent about what the device attestation actually establishes.

Not much. The build attests with the SDK's development certificate for
0xFFF1/0x8013. The same certificate ships in every build of that example and
its private key is published in the SDK source, so attestation cannot
distinguish this router from anything else presenting the same credential, and
succeeding at it says nothing about who built the device or what is running on
it. Whether a controller notices depends on which roots it trusts: the chain
ends at a development root that some trust stores carry and some do not.

So the package says so itself, in terms of what is true of this device rather
than what some other implementation might be expected to do about it.

Assisted-By: Claude Opus 5
Signed-off-by: Christian Glombek <c.glombek@cosa.systems>
Two things the package knew but did not say.

CHIP's mbedTLS crypto backend calls AES-CCM, so the mbedtls variant does not
link unless mbedtls is built with MBEDTLS_CCM_C. That option is `default n` in
OpenWrt, and the requirement was recorded only as an English sentence in the
package description, where the build system cannot act on it. .config.ci sets
the option, so this repository's own builds were fine — but anyone building
without that seed got an undefined reference to mbedtls_ccm_init rather than an
unmet dependency they could see in menuconfig. Say it in DEPENDS instead.

Neither variant declared PROVIDES, so the name matter-netman existed for nobody
to depend on or install; the variants had to be named explicitly. Declare it in
the shared block, the way miniupnpd, geoip-shell and mtr do.

Assisted-By: Claude Opus 5
Signed-off-by: Christian Glombek <c.glombek@cosa.systems>
Moves the pin from the 13 June revision to 72ecdc2b of 30 July. PKG_RELEASE
goes back to 1 with the new version.

Both patches still apply at fuzz zero against the new revision, so neither
needed refreshing.

The mirror hash is the one this same revision already produces in CI on project-chip#53,
where the source is fetched with the same URL, proto and submodule list, so the
archive -- and therefore the hash -- is byte for byte the same.

Assisted-By: Claude Opus 5
Signed-off-by: Christian Glombek <c.glombek@cosa.systems>
@LorbusChris
LorbusChris force-pushed the matter-netman-package-metadata branch from 12c2b40 to 263c095 Compare August 17, 2026 18:46
@LorbusChris

Copy link
Copy Markdown
Contributor Author

Rebased and with GPG signatures

@ksperling-apple
ksperling-apple merged commit f87ba37 into project-chip:main Aug 18, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

review - pending sdk-maintainer-approved PR marked by `matter-sdk-maintainers` as suitable for MERGE

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants