Load/Write a private key #89
Unanswered
AurelienGoor
asked this question in
Q&A
Replies: 4 comments
|
It's not possible to import plain private keys for security reasons. The only way to import is via wrapping it through the smart card shell 3. |
0 replies
|
Thank you for these details. I followed the documentation doc/scs3.md to load the private key with scs3 but the "Device authentication failed", probably related to the issue #87. PS : Thanks for this project, which allows to have a low-cost HSM/FIDO device. |
0 replies
|
Try adding |
0 replies
|
it works, thanks a lot |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I'm using an ESP32-S3 WROOM 1 flashed with Pico-HSM 5.6 firmware. I generated a 2048-bit RSA key on my computer and I want to import it into the Pico-HSM.
The Pico-HSM was initialized with the pico-hsm-tool.py script.
The private key was exported in binary format (DER).
To do this, I run the following command:
pkcs11-tool --login --pin 123456 --write-object private_key.der --type privkey --id 1Result:
Is writing the private key supported or did I do something wrong?
All reactions