-
Notifications
You must be signed in to change notification settings - Fork 231
Description
I followed the steps in
https://github.com/MicrochipTech/cryptoauthlib/wiki/PKCS11-Linux-Setup.
When I run p11tool --list-all I am receiving below response
When I run p11tool --list-all --provider /usr/lib/libcryptoauth.so I getting this response
What's the difference between these two commands. Why my outcome is different?
Next I am trying to initialize the chip using the command p11tool --initialize "pkcs11:serial=10A592C2E036" --label appzgate. I am getting the error
Error in pkcs11_init:1439: PKCS #11 error.
As per the tutorial I am following it supposed to initialize the chip. But I am getting the error.
My requirement is I have SD card having Raspberry Pi OS. I have encrypted the root patriation of my SD card using LUKS encryption, to decrypt back I have generated the key file on USB stick and added the key file to LUKS patriation, when the raspberry pi rebooted the system will read the key from associated USB stick using that key file the SD card will be unlocked and boot up. Due to the USB stick is not secure to store the key file, I trying to store the key file on ATECC608A and read the key file from ATECC608A on boot
Please assist me to resolve this to proceed further