Closed DadOfTheDead closed 2 years ago
Yes, excluding CKA_LABEL
from search template sounds like a good idea. I'll remove it in next version.
Thanks
Hi. I have the same problem. I.E. it's unable to find my token's private key if CKA.CKA_LABEL is included in the search. https://stackoverflow.com/questions/70003640/pkcs11interop-x509store-unable-to-find-private-key Would you consider a PR excluding CKA_LABEL from the search? Thanks in advance.
This feature will be published today in Pkcs11Interop.X509Store 0.4.0.
Hi, on my card private key and public key of the certificate are not found. I dug into it and found that your search for keys in
FindKeys
inPkcs11X509Certificate
includesCKA_ID
and alsoCKA_Label
. On my card however Label is only set on the certificate - not on either of the keys - when importing the certificate using the provider tool (Thales SafeNet). Do you think it is a good idea to exclude label search not only for me but everyone? BR and thanks for your work.Edit: Tested with another type of card (ACOS). When putting a certificate on that card label is not set for either certificate, private key or public key. All empty.