Skip to content

Commit

Permalink
1)Updated README.md for psoc6 lock-app
Browse files Browse the repository at this point in the history
  • Loading branch information
ying-css committed Aug 4, 2023
1 parent 1a0f2ec commit 5761324
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
12 changes: 6 additions & 6 deletions docs/guides/infineon_trustm_provisioning.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,25 @@

To use Infineon OPTIGA™ Trust M for device attestation, Provisioning for OPTIGA™ Trust M with Matter test device Attestation certificate is needed.

The provisioning can be done on Matter Test-Harness using Raspberry Pi4, please refer to Matter_TH_User_Guide from [CSA](https://www.csagroup.org/) for details for Matter Test-Harness setup.

## Hardware setup:

[Raspberry Pi 4](https://www.raspberrypi.com/products/raspberry-pi-4-model-b/)
[Raspberry Pi](https://www.raspberrypi.com/products/raspberry-pi-4-model-b/)

[OPTIGA™ Trust M S2GO](https://www.infineon.com/cms/en/product/evaluation-boards/s2go-security-optiga-m/)

[Shield2Go Adapter for Raspberry Pi](https://www.infineon.com/cms/en/product/evaluation-boards/s2go-adapter-rasp-pi-iot/) or Jumping Wire

## Provisioning for OPTIGA™ Trust M

- Clone the repo from Infineon Public Github
The [Linux Tools for OPTIGA™ Trust M ](https://github.com/Infineon/linux-optiga-trust-m) can be used to perform provisioning by following the steps mentioned below:

- Clone the repo from Infineon Public GitHub

```
$ git clone --recurse-submodules https://github.com/Infineon/linux-optiga-trust-m.git
```

- Build the Linux tools for OPTIGA™ Trust M:
- Build the Linux tools for OPTIGA™ Trust M

```
$ cd linux-optiga-trust-m/
Expand All @@ -40,7 +40,7 @@ $ ./matter_dac_provisioning.sh

*Step1: Extract the public key from the Infineon pre-provisioned Certificate(0xe0e0) using openssl command.*

*Step2: Generate DAC test certificate using the extracted public key, Signed by [Matter test PAI](https://github.com/project-chip/connectedhomeip/blob/v1.1-branch/credentials/development/attestation/Matter-Development-PAI-FFF1-noPID-Cert.pem)_*
*Step2: Generate DAC test certificate using the extracted public key, Signed by [Matter test PAI](https://github.com/project-chip/connectedhomeip/blob/v1.1-branch/credentials/development/attestation/Matter-Development-PAI-FFF1-noPID-Cert.pem)*

*Step3: Write DAC test certificate into OPTIGA™ Trust M certificate slot 0xe0e3*

Expand Down
8 changes: 5 additions & 3 deletions examples/lock-app/infineon/psoc6/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ An example showing the use of Matter on the Infineon CY8CKIT-062S2-43012 board.
- [Cluster control](#cluster-control)
- [Factory Reset](#factory-reset)
- [Building with OPTIGA™ Trust M as HSM](#build-trustm-hsm)
- [OPTIGA™ Trust M Provisioning](#provisioning-trustm)
- [OPTIGA™ Trust M Provisioning](#provisioning-trustm)
- [OTA Software Update](#ota-software-update)

<hr>
Expand Down Expand Up @@ -191,9 +191,11 @@ For different security use cases, please set the flags in CHIPCryptoPALHsm_confi
$ cd examples/lock-app/infineon/psoc6
$ rm -rf out/

## <a name="provisioning-trustm"></a>
- Proceed to OPTIGA™ Trust M Provisioning section to complete the credential storage into HSM.

## OPTIGA™ Trust M Provisioning
### <a name="provisioning-trustm"></a>

### OPTIGA™ Trust M Provisioning

For the description of OPTIGA™ Trust M Provisioning with test DAC generation and PAI and CD storage, please refer to
[Infineon OPTIGA™ Trust M Provisioning](../../../../docs/guides/infineon_trustm_provisioning.md)
Expand Down

0 comments on commit 5761324

Please sign in to comment.