First of all I would like to thank you for the great work on pico-hsm!
At the moment the label of the sc seems to be fixed to „Pico-HSM“ (s.
|
char *label = "Pico-HSM"; |
)
If I try to initialize with:
$ sc-hsm-tool --initialize --so-pin 3537363231383830 --pin 648219 —label“myHSM“
I get some weird behaviour and the card won‘t react to commands like „list objects“ anymore.
Would it be possible to add a label functionality?
I‘m not yet familiar with pkcs11 or pkcs15 api, but if you give a hint with implementation flow, I might assist with a PR.
Thanks and best regards!
Marcel
First of all I would like to thank you for the great work on pico-hsm!
At the moment the label of the sc seems to be fixed to „Pico-HSM“ (s.
pico-hsm/src/hsm/sc_hsm.c
Line 299 in 2588909
If I try to initialize with:
$ sc-hsm-tool --initialize --so-pin 3537363231383830 --pin 648219 —label“myHSM“I get some weird behaviour and the card won‘t react to commands like „list objects“ anymore.
Would it be possible to add a label functionality?
I‘m not yet familiar with pkcs11 or pkcs15 api, but if you give a hint with implementation flow, I might assist with a PR.
Thanks and best regards!
Marcel