-
Notifications
You must be signed in to change notification settings - Fork 5
Raspberrypi HSM
Maurice1995 edited this page Jul 19, 2019
·
1 revision
This step by step guide is structured in such a way that it is easily understandable. A more advanced user should be able to do a few steps at once.
This is the repo you will have to clone to your RPI here
- Flash raspbian buster lite onto an SD card
- Insert SD card into RPI4
- Plugin preprovisioned SecureElement on correct Pins of RPI4
- Power on RPI4
- raspberry login: pi
- Password: raspberry
- Activate network via: sudo raspi-config
- Activate i2c via: raspi-config
- Activate ssh
- sudo apt update
- sudo apt upgrade
- sudo apt install -y i2c-tools cmake git libusb-1.0-0-dev libudev-dev python3-pip
- Test with crypino connected i2c via: i2cdetect -y 1
- This has to show that address 50 and 60 are active
- git clone https://github.com/MicrochipTech/cryptoauthtools.git
- cd cryptoauthtools/
- sudo pip3 install cryptoauthlib
- cd /python/examples
- sudo pip3 install -r requirements.txt
Test if communication with SE is working:
- cd cryptoauthtools/python/examples
- python3 sign_verify.py -i i2c
- This is the result: