Hello, my Nitrokey HSM 2 is up to date, but I cannot generate a symmetric key… I am trying with the APDU commands from the manual,
or with pkcs11-tool :
On windows, I type the command :
pkcs11-tool.exe -l --pin 981567 --keygen --key-type aes:128 --id 1 error: Generate Key mechanism not supported
or with pkcs15-init :
on windows, I type the command :
pkcs15-init.exe --store-secret-key aes_key.txt --secret-key-algorithm aes/128 --auth-id 01 --id 03 --pin 981567 Using reader with a card: Nitrokey Nitrokey HSM 0 Failed to store secret key: Key length/algorithm not supported by card
Can someone describe the steps to use to generate the key ?