Migration notes for Matter add-on v1.0.1

This document describes changes required or recommended for migrating your Matter application from Matter add-on v1.0.0 to v1.0.1.

Required changes

The following changes are mandatory to make your application work in the same way as in previous releases.

Identify where the DAC private key is stored

Use the first firmware that completed factory-data migration on each device, not the Kconfig defaults of your current project alone.

First boot that migrated the DAC key

DAC private key location

In-tree nRF Connect SDK Matter (through nRF Connect SDK v3.4.0)

CRACEN KMU (expected on nRF54L with factory data)

Matter add-on v1.0.0 on nRF54L

PSA ITS (CONFIG_CHIP_CRYPTO_PSA_DAC_PRIV_KEY_ITS)

You can confirm the current firmware intent in build/<image>/zephyr/.config:

Choose a migration path

There are three possible migration paths, depending on the device’s firmware and DAC key storage location.

Path A — Device previously on in-tree nRF Connect SDK Matter (key in KMU), updated to v1.0.0

Symptom: Re-commissioning after performing factory reset fails after DFU. Attestation errors such as OpCreds: Failed AttestationRequest request with IM error 0x01 (err = ac) occur. Existing Matter fabrics may still operate.

Action: Deploy Matter add-on v1.0.1 (or newer) firmware. With the CONFIG_CHIP_CRYPTO_PSA_DAC_PRIV_KEY_FALLBACK Kconfig option enabled (default), the device finds the key in KMU even if the ITS backend is selected. Restoring the KMU defaults is still recommended, so that the selected backend matches the key location.

Path B — Product shipped or first flashed with Matter add-on v1.0.0 on nRF54L series device (key in ITS)

Until each unit is re-provisioned with new factory data (new DAC key and certificates), choose one of the following for every firmware image you ship to those devices.

Option 1 — KMU defaults with ITS fallback (recommended for v1.0.1+ field updates):

Use the normal nRF54L KMU migration settings and leave the CONFIG_CHIP_CRYPTO_PSA_DAC_PRIV_KEY_FALLBACK Kconfig option set to y (default). Commissioning and device attestation keep working because the stack detects the legacy ITS copy at boot and uses it for signing while logging a warning. Plan re-provisioning when you want the key stored in KMU only.

Option 2 — Explicit ITS backend:

Keep the migration destination aligned with the key location:

CONFIG_CHIP_CRYPTO_PSA_DAC_PRIV_KEY_ITS=y
# CONFIG_CHIP_CRYPTO_PSA_DAC_PRIV_KEY_KMU is not set

Add this to the prj.conf file or a board overlay and verify it in the merged .config file after building.

Do not perform the following operations:

  • Disable the CONFIG_CHIP_CRYPTO_PSA_DAC_PRIV_KEY_FALLBACK Kconfig option on the KMU-default v1.0.1 firmware for these units because boot stops when the ITS copy is found, until the ITS copy is removed or the device is re-provisioned.

  • Perform a factory reset on firmware that erases settings (CONFIG_CHIP_FACTORY_RESET_ERASE_SETTINGS) while the DAC key is stored only in ITS and you have not yet updated to the firmware with the fallback. If the key was in ITS and a different backend is selected, the factory reset erases the ITS copy and the DAC private key is permanently lost. The device can no longer pass device attestation until it is re-provisioned with new factory data, and updating the firmware afterwards does not restore the key. Update the firmware first, and re-provision the device before you rely on a factory reset.

Path C — New development on v1.0.1+

No Kconfig changes are required for new nRF54L Series devices that will boot v1.0.1 first. KMU remains the default when CONFIG_CRACEN_LIB_KMU is available. See Storing Device Attestation Certificate private key for backend options.