0

i am working on a HSM which has a custom user role: crypto user. how can i use pkcs11-tool to login or work with that user on Hsm? it works with user or SO not sure how can i use with custom roles specific to hsm.

Zach
  • 35
  • 6

1 Answers1

2

Given the implementation of pkcs11-tool it is not possible to specify CKU_CRYPTO_USER.

It would make sense to patch pkcs11-tool to support numeric values for the --login-type option.

Good luck with your project!

vlp
  • 7,811
  • 2
  • 23
  • 51