Skip to content
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

PKCS11_get_private_key() api not compactible with different version of libcryptoauth #539

Open
Pruthwiraj-Kumar-Deo opened this issue Jul 29, 2024 · 0 comments

Comments

@Pruthwiraj-Kumar-Deo
Copy link

I have successfully generated a private key in the ECC chip using the libcryptoauth API (v3.5.1 tag), specifically in slot.

However, when attempting to access the private key pointer using the EVP_PKEY *PKCS11_get_private_key(PKCS11_KEY *pkey) API from libp11 (libp11-0.4.12 tag), it fails and returns NULL.

When I performed the same operations with different versions of the libraries—libcryptoauth (pkcs11 tag) and libp11 (libp11-0.4.10 tag)—everything worked fine.

Is there a compatibility issue between the versions of libcryptoauth and libp11? Alternatively, have there been any changes to the EVP_PKEY *PKCS11_get_private_key(PKCS11_KEY *pkey) API between libp11-0.4.10 and libp11-0.4.12?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant