-
Notifications
You must be signed in to change notification settings - Fork 328
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Show slot id after initialization #225
Comments
Interestingly this doesn't happen on the |
Would it be possible for softhsm2-util to display the new slot ID in the output? It would be nice to be able to know the new ID immediately at initialization time. |
The slot ID is only updated after the library is reinitialized. softhsm2-util could show the new slot ID if it reinitialize the library and search for a token matching the given label. |
Issue #225: Show slot id after initialization
Fixed in #296 |
Still happening on Ubuntu |
Whenever I run
softhsm2-util --init-token
on a given free slot, it changes the slot id to something very large. See screenshot for example.Steps taken:
softhsm2-util --show-slots
to see the available slots. Slot 0 will present as empty, as expected.softhsm2-util --init-token --slot 0 --label "test" --pin 1234 --so-pin 1234
.softhsm2-util --show-slots
again and the token I just created is under Slot 1004965189 (for example, could be any large number usually).This happens on Mac and Ubuntu from my testing.
I'm not sure if this is by design or if I'm missing something.
The text was updated successfully, but these errors were encountered: