Hi,
We have purchased a YubiHSM in order to be able to store user secrets on it. Storing the secrets will be done from within some PHP code, but in order to try the YubiHSM first, I have installed the python-pyhsm library on my Macbook Pro.
Installation went good, but I needed to test the device.
First I configured the YubiHSM as hsm with a password.
Then I created a python commandline script which basically was a copy of this one:
https://github.com/Yubico/python-pyhsm/ ... rd-auth.py.
Then I tried calling the script, but I got the error that the storage was locked.
Which is when I tried configuring the YubiHSM again without a password.
When trying to call the script this time, I got a different error instead (invalid key handle).
Any thoughts on what I am doing wrong?
Kind regards,
Lineke