You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Infineon OPTIGA™ Trust M Provisioning for Matter
2
+
3
+
To use Infineon OPTIGA™ Trust M for device attestation, Provisioning for
4
+
OPTIGA™ Trust M with Matter test device Attestation certificate is needed.
5
+
6
+
## Hardware setup:
7
+
8
+
[Raspberry Pi 4](https://www.raspberrypi.com/products/raspberry-pi-4-model-b/)
9
+
10
+
[OPTIGA™ Trust M MTR](https://www.infineon.com/cms/en/product/evaluation-boards/trust-m-mtr-shield/)
11
+
12
+
[Shield2Go Adapter for Raspberry Pi](https://www.infineon.com/cms/en/product/evaluation-boards/s2go-adapter-rasp-pi-iot/)
13
+
or Jumping Wire
14
+
15
+
## Provisioning for OPTIGA™ Trust M
16
+
17
+
The
18
+
[Linux Tools for OPTIGA™ Trust M ](https://github.com/Infineon/linux-optiga-trust-m)
19
+
can be used to perform provisioning by following the steps mentioned below.
20
+
21
+
- Set up chip-tool on Raspberry Pi 4 by following the instruction listed at
22
+
[Building chip-tool on Raspberry Pi ](https://github.com/project-chip/connectedhomeip/blob/master/docs/guides/BUILDING.md#installing-prerequisites-on-raspberry-pi-4)
- Run the script to generate Matter test DAC for lock-app using the public key
37
+
extracted from the Infineon pre-provisioned Certificate and store it into
38
+
0xE0E0
39
+
40
+
```
41
+
$ cd scripts/matter_provisioning/
42
+
$ ./matter_dac_provisioning.sh
43
+
```
44
+
45
+
_Note:_
46
+
47
+
_By running this example matter_dac_provisioning.sh, the steps shown below are
48
+
executed:_
49
+
50
+
_Step1: Extract the public key from the Infineon pre-provisioned
51
+
Certificate(0xE0E0) using openssl command._
52
+
53
+
_Step2: Generate DAC test certificate using the extracted public key, Signed by
54
+
[Matter test PAI](https://github.com/project-chip/connectedhomeip/blob/v1.1-branch/credentials/development/attestation/Matter-Development-PAI-FFF1-noPID-Cert.pem)_.
55
+
Please note that production devices cannot re-use these test keys/certificates.
56
+
57
+
_Step3: Write DAC test certificate into OPTIGA™ Trust M certificate slot
58
+
0xE0E0_
59
+
60
+
\_Step4: Write Matter test PAI into OPTIGA™ Trust M certificate slot
61
+
0xE0E8 and test CD into OPTIGA™ Trust M Arbitrary OID 0xF1E0.
0 commit comments