libp11
libp11 copied to clipboard
PKCS#11 wrapper library
This adds new public functions to get the EVP/X509 object directly based on object template: - speeds up object searches if token has lot of objects as no enumeration is...
Since there are publicly available binary releases for both OpenSC and OpenSSL it would be greatly appreciated if there also was one for libp11. Most Windows systems are not set...
I'm talking about the following two lines: https://github.com/OpenSC/libp11/blob/bb8b8389f39e61ee6508db86c1341495c06f9c9a/src/p11_key.c#L161-L162 Here a potential `CK_INVALID_HANDLE` from [`pkcs11_handle_from_template()`](https://github.com/OpenSC/libp11/blob/bb8b8389f39e61ee6508db86c1341495c06f9c9a/src/p11_key.c#L41) is not handled. => We enter the following `pkcs11_object_from_handle()` with `CK_INVALID_HANDLE`.
Hi There, This project is still using an old implementation of LGTM's automated code review, which has now been disabled. To continue using automated code review, and receive checks on...
OpenSC has some of the PKCS#11 features in the pipeline to get merged (OpenSC/OpenSC#2096, OpenSC/OpenSC#1854). Once they are in, it would be great if libp11 could use the new interfaces...
I did not find a configuration option (in the doc or configure script) on building with memory leak detection and using it. Would be good to add a hint on...
… on a SafeNet usb token under Windows the certificate is labeled but the key label is empty. To solve this problem, the certificate label is used instead of empty...
This PR adds support to allow client libraries to generate elliptic curve keys within the PKCS#11 token. Existing PKCS11_generate_key() has a limitation that it can only do RSA keys, as...
So... in https://github.com/openssl/openssl/pull/1643#issuecomment-250328877 @levitte points out that we are Doing It Wrong™. We should ensure that our engine still has a functional refcount, for each `EVP_PKEY` we give out. This...
From the readme: `However, many of the main PKCS11_* API functions are currently not fully thread safe. Work to fix this is pending.` What does it mean ? Which API...