Skip to content

Initialize with Label #129

Description

@Styne13

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions