Questions tagged [cryptoki]
18 questions
0
votes
2 answers
How to query HSM slot for value "key handle" using (known) value "key label"
Need to query HSM (in Python) using known values HSM "slot #", "key label" to obtain (unknown value) "key handle".
Any suggestions?

JHZK99
- 1
- 1
0
votes
2 answers
CreateObject PKCS#11 fail
I tried to comment on this link https://stackoverflow.com/a/39798597/448266, but could not due to the reputation #.
I have tried the sample and run well, but when I changed to arbitrary value it returns exception Message:…

Bondhan Novandy
- 362
- 1
- 4
- 16
0
votes
1 answer
Pkcs#11 Session.encrypt CKR_OPERATION_NOT_INITIALIZED using NCryptoki
I'm using Pkcs#11 with the NCryptoki dll to use our HSM and manage the keys.
Why is this code giving me, sometimes, the error 145 (CKR_OPERATION_NOT_INITIALIZED)? I'm trying to avoid it, but I am still missing something... This error happens…

Piero Alberto
- 3,823
- 6
- 56
- 108