1

I know how to do it in Yubikey, but I have a YubiHSM2. Don't know how to do it.

The following is for Yubikey, not for YubiHSM

$ yubico-piv-tool -a import-key -s 9c -i root.key
GummyBear21
  • 1,251
  • 2
  • 10
  • 8

1 Answers1

1

Ok, I got it. Use yubihsm-shell

yubihsm> put asymmetric 0 0 mykey 1 sign-pkcs rsa.pem
GummyBear21
  • 1,251
  • 2
  • 10
  • 8